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