symbol fix, added weather

This commit is contained in:
Maximilian Wagner 2023-12-11 20:49:58 +01:00
parent dda18507a9
commit 93bf68f337

22
config
View File

@ -14,17 +14,17 @@
"modules-center": [
"clock",
"idle_inhibitor",
"custom/weather",
],
"modules-right": [
//"idle_inhibitor",
//"memory",
//"cpu",
"pulseaudio",
//"custom/PBPbattery",
"backlight#icon",
"backlight#value",
//"custom/weather",
"battery",
"tray",
"custom/power",
@ -154,34 +154,34 @@
"default": ["󰕾"]
},
"on-click": "pavucontrol",
"on-scroll-up": "pactl set-sink-volume @DEFAULT_SINK@ +2%",
"on-scroll-down": "pactl set-sink-volume @DEFAULT_SINK@ -2%",
"on-scroll-down": "pactl set-sink-volume @DEFAULT_SINK@ +2%",
"on-scroll-up": "pactl set-sink-volume @DEFAULT_SINK@ -2%",
},
// to use the weather module replace <your_location> with your city or town
// note: do not use spaces: new york would be newyork
"custom/weather": {
"exec": "~/.config/waybar/scripts/weather.sh <your_location>",
"exec": "~/.config/waybar/scripts/weather.sh Bonn",
"return-type": "json",
"interval": 600,
},
"tray": {
"icon-size": 18,
"spacing":10,
"icon-size": 15,
"spacing": 5,
},
"backlight#icon": {
"format": "{icon} ",
"format-icons": [""],
"on-scroll-down": "brightnessctl -c backlight set 1%-",
"on-scroll-up": "brightnessctl -c backlight set +1%"
"on-scroll-up": "brightnessctl -c backlight set 1%-",
"on-scroll-down": "brightnessctl -c backlight set +1%"
},
"backlight#value" :{
"format": "{percent}%",
"on-scroll-down": "brightnessctl -c backlight set 1%-",
"on-scroll-up": "brightnessctl -c backlight set +1%"
"on-scroll-up": "brightnessctl -c backlight set 1%-",
"on-scroll-down": "brightnessctl -c backlight set +1%"
},
"custom/firefox": {