waybar weather module
This commit is contained in:
1 parent
1dc7e1a2b6
commit
30370bd5bf
2 files changed
+123
-2
No files matched your search
+9
-2
@@ -2,7 +2,7 @@
|
||||
"layer": "top",
|
||||
"height": 30,
|
||||
"spacing": 4,
|
||||
"modules-left": ["custom/launcher", "cpu", "memory", "temperature", "disk", "hyprland/window"],
|
||||
"modules-left": ["custom/launcher", "cpu", "memory", "temperature", "disk", "custom/weather", "hyprland/window"],
|
||||
"modules-center": ["hyprland/workspaces"],
|
||||
"modules-right": ["custom/spotify", "pulseaudio", "network", "backlight", "keyboard-state", "hyprland/language", "battery", "battery#bat2", "clock", "tray", "custom/power"],
|
||||
"hyprland/workspaces": {
|
||||
@@ -105,6 +105,13 @@
|
||||
"on-scroll-up": "playerctl -p spotify next",
|
||||
"on-scroll-down": "playerctl -p spotify previous",
|
||||
"exec-if": "pgrep spotfiy"
|
||||
}
|
||||
},
|
||||
"custom/weather": {
|
||||
"format": "{}",
|
||||
"tooltip": true,
|
||||
"interval": 3600,
|
||||
"exec": "~/dotfiles/waybar/scripts/waybar-wttr.py",
|
||||
"return-type": "json"
|
||||
},
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user