aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorawy <awy@awy.one>2025-08-24 04:55:20 +0300
committerawy <awy@awy.one>2025-08-24 04:55:20 +0300
commit4cab932fa600f3a0db895041c46e58765333e15e (patch)
tree42ba91c3adfb0aad0396fd7e6a6bcd555cad98f3 /.config
parentcaaf06ee9669d39c185711c1fd61622f30389c96 (diff)
downloadhyprdots-4cab932fa600f3a0db895041c46e58765333e15e.tar.gz
stweath
Diffstat (limited to '.config')
-rw-r--r--.config/waybar/config.jsonc51
1 files changed, 13 insertions, 38 deletions
diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc
index 23d8826..d19ed54 100644
--- a/.config/waybar/config.jsonc
+++ b/.config/waybar/config.jsonc
@@ -15,12 +15,10 @@
// "custom/packages",
"custom/news",
"custom/torrent",
+ "custom/weather",
"cpu#usage",
// "cpu#bars",
"custom/memory",
- "custom/leftsep",
- "custom/rainchance",
- "custom/weather",
"custom/mailbox",
"wireplumber#source",
"wireplumber#sink",
@@ -132,6 +130,18 @@
"on-click-backward": "setsid -f \"$TERMINAL\" -e $EDITOR ~/.local/bin/statusbar/src/sttorrent.c"
},
+ "custom/weather" : {
+ "cursor": false,
+ "tooltip": false,
+ "format": "[ {} ]",
+ "signal": 5,
+ "exec" : "stweath",
+ "interval" : 400,
+ "on-click-right": "notify-send \" Weather module\" \"\\- Middle click to update forecast.\n: Chance of rain/snow\n: Current temperature\"",
+ "on-click-middle": "WEATHERFORCEUPDATE=1 stweath",
+ "on-click-backward": "setsid -f \"$TERMINAL\" -e $EDITOR ~/.local/bin/statusbar/src/stweath.c"
+ },
+
"cpu#usage" : {
"cursor": false,
"tooltip": false,
@@ -182,41 +192,6 @@
"on-click-backward": "BLOCK_BUTTON=8 sb-doppler"
},
- "custom/leftsep" : {
- "cursor": false,
- "tooltip": false,
- "format": "[ "
- },
-
- "custom/rainchance" : {
- "cursor": false,
- "tooltip": false,
- "hide-empty-text": true,
- "format": "{}",
- "signal": 5,
- "exec" : "sb-weather rain",
- "interval" : 18000,
- "on-click": "BLOCK_BUTTON=1 sb-weather rain",
- "on-click-right": "BLOCK_BUTTON=3 sb-weather rain",
- "on-click-middle": "BLOCK_BUTTON=2 sb-weather rain",
- "on-click-backward": "BLOCK_BUTTON=8 sb-weather rain",
- "return-type": "json"
- },
-
- "custom/weather" : {
- "cursor": false,
- "tooltip": false,
- "format": "{} ]",
- "signal": 5,
- "exec" : "sb-weather weather",
- "interval" : 400,
- "on-click": "BLOCK_BUTTON=1 sb-weather weather",
- "on-click-right": "BLOCK_BUTTON=3 sb-weather weather",
- "on-click-middle": "BLOCK_BUTTON=2 sb-weather weather",
- "on-click-backward": "BLOCK_BUTTON=8 sb-weather weather",
- "return-type": "json"
- },
-
"custom/mailbox" : {
"cursor": false,
"tooltip": false,