feat(system): update weather module
This commit is contained in:
1 parent
c1b9da7012
commit
158115142c
1 file changed
+6
-12
+6
-12
@@ -119,7 +119,7 @@
|
||||
"2": "",
|
||||
"3": "",
|
||||
"4": "",
|
||||
"5": "",
|
||||
"5": "",
|
||||
"6": "",
|
||||
"7": "",
|
||||
"8": "",
|
||||
@@ -540,17 +540,11 @@
|
||||
"on-click": "kitty -T update paru -Syu || yay -Syu && notify-send 'The system has been updated'",
|
||||
},
|
||||
|
||||
"custom/weather": {
|
||||
"format": "{}",
|
||||
"format-alt": "{alt}: {}",
|
||||
"format-alt-click": "click",
|
||||
"interval": 1,
|
||||
"return-type": "json",
|
||||
"exec": "~/.config/hypr/scripts/RunCMD.sh weather",
|
||||
"exec-if": "ping wttr.in -c1",
|
||||
"tooltip" : true,
|
||||
},
|
||||
|
||||
"custom/weather": {
|
||||
"exec": "curl -s 'https://wttr.in/kohalpur?format=2' | tr -d ' '",
|
||||
"tooltip": false,
|
||||
"interval": 900
|
||||
},
|
||||
"custom/CpuTemp":{
|
||||
"exec": "~/.config/hypr/scripts/HeatSensors.sh",
|
||||
"interval": 10,
|
||||
|
||||
Reference in new issue
Block a user