add weather widget to waybar

This commit is contained in:
2026-06-19 10:29:09 +02:00
parent 976d383968
commit 3eb2c829cd
4 changed files with 24 additions and 1 deletions
+8 -1
View File
@@ -11,7 +11,7 @@
"tooltip": false
},
"modules-center": ["clock"],
"modules-right": ["custom/network", "cpu", "battery"],
"modules-right": ["custom/weather", "custom/network", "cpu", "battery"],
"niri/workspaces": {
"disable-scroll": true
@@ -22,6 +22,13 @@
"interval": 60
},
"custom/weather": {
"exec": "~/.local/bin/waybar-weather.sh",
"interval": 1800,
"format": "{}",
"tooltip": false
},
"custom/network": {
"exec": "~/.local/bin/waybar-network.sh",
"interval": 2,