aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorawy <awy@awy.one>2025-07-30 23:35:30 +0300
committerawy <awy@awy.one>2025-07-30 23:35:30 +0300
commit40bd9e3f5693963a31289360fe1622f308d51a0d (patch)
treeb28802709f1553b1d28b441a9fd648fbb8a36501 /.config
parent343099a8ef574a6c45cc817ea5ed233ba07ba3bc (diff)
downloadhyprdots-40bd9e3f5693963a31289360fe1622f308d51a0d.tar.gz
waybar
Diffstat (limited to '.config')
-rw-r--r--.config/waybar/config.json52
-rw-r--r--.config/waybar/style.css48
2 files changed, 90 insertions, 10 deletions
diff --git a/.config/waybar/config.json b/.config/waybar/config.json
index f261dc5..e04c578 100644
--- a/.config/waybar/config.json
+++ b/.config/waybar/config.json
@@ -16,7 +16,8 @@
"custom/torrent",
"cpu",
"custom/memory",
- "custom/forecast",
+ "custom/rainchance",
+ "custom/weather",
"custom/mailbox",
"custom/microphone",
"custom/volume",
@@ -33,6 +34,7 @@
},
"custom/recording" : {
+ "cursor": false,
"tooltip": false,
"format": "{}",
"signal": 9,
@@ -40,6 +42,7 @@
},
"custom/tasks" : {
+ "cursor": false,
"tooltip": false,
"format": "{}",
"signal": 26,
@@ -47,11 +50,12 @@
"exec" : "sb-tasks",
"on-click": "BLOCK_BUTTON=1 sb-tasks",
"on-click-right": "BLOCK_BUTTON=3 sb-tasks",
- "on-click-middle": "BLOCK_BUTTON=3 sb-tasks",
- "on-click-backward": "BLOCK_BUTTON=3 sb-tasks"
+ "on-click-middle": "BLOCK_BUTTON=2 sb-tasks",
+ "on-click-backward": "BLOCK_BUTTON=8 sb-tasks"
},
"custom/music" : {
+ "cursor": false,
"tooltip": false,
"escape": true,
"format": "{}",
@@ -67,6 +71,7 @@
},
"custom/packages" : {
+ "cursor": false,
"tooltip": false,
"format": "{}",
"signal": 8,
@@ -78,6 +83,7 @@
},
"custom/news" : {
+ "cursor": false,
"tooltip": false,
"format": "{}",
"signal": 6,
@@ -89,6 +95,7 @@
},
"custom/torrent" : {
+ "cursor": false,
"tooltip": false,
"format": "{}",
"signal": 7,
@@ -103,7 +110,7 @@
"cpu" : {
"tooltip": false,
"format": "{icon} {usage}%",
- "interval": 1,
+ "interval": 10,
"states": {
"high": 70,
"mid": 40,
@@ -113,6 +120,7 @@
},
"custom/memory" : {
+ "cursor": false,
"tooltip": false,
"format": "{}",
"signal": 14,
@@ -126,6 +134,7 @@
},
"custom/doppler" : {
+ "cursor": false,
"tooltip": false,
"format": "{}",
"signal": 13,
@@ -137,19 +146,37 @@
"on-click-backward": "BLOCK_BUTTON=8 sb-doppler"
},
- "custom/forecast" : {
+ "custom/rainchance" : {
+ "cursor": false,
"tooltip": false,
+ "hide-empty-text": true,
"format": "{}",
"signal": 5,
- "exec" : "sb-forecast",
+ "exec" : "sb-weather rain",
"interval" : 18000,
- "on-click": "BLOCK_BUTTON=1 sb-forecast",
- "on-click-right": "BLOCK_BUTTON=3 sb-forecast",
- "on-click-middle": "BLOCK_BUTTON=2 sb-forecast",
- "on-click-backward": "BLOCK_BUTTON=8 sb-forecast"
+ "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,
"format": "{}",
"signal": 12,
@@ -181,6 +208,7 @@
"custom/nettraf" : {
"tooltip": false,
+ "cursor": false,
"format": "{}",
"signal": 16,
"exec" : "sb-nettraf",
@@ -192,6 +220,7 @@
"custom/microphone" : {
"tooltip": false,
+ "cursor": false,
"format": "{}",
"signal": 23,
"exec" : "sb-microphone",
@@ -206,6 +235,7 @@
"custom/volume" : {
"tooltip": false,
+ "cursor": false,
"format": "{}",
"signal": 10,
"exec" : "sb-volume",
@@ -220,6 +250,7 @@
"custom/clock" : {
"tooltip": false,
+ "cursor": false,
"format": "{}",
"signal": 1,
"exec" : "sb-clock",
@@ -231,6 +262,7 @@
},
"custom/internet" : {
+ "cursor": false,
"tooltip": false,
"format": "{}",
"signal": 4,
diff --git a/.config/waybar/style.css b/.config/waybar/style.css
index 703ce7f..4c4d7e0 100644
--- a/.config/waybar/style.css
+++ b/.config/waybar/style.css
@@ -106,6 +106,54 @@ window#waybar {
padding-right: 10px;
}
+#custom-weather, #custom-rainchance {
+ padding-right: 10px;
+}
+
+#custom-rainchance.high {
+ color: @mauve;
+}
+
+#custom-rainchance.mid {
+ color: @blue;
+}
+
+#custom-rainchance.low {
+ color: @sky;
+}
+
+#custom-weather.very_hot {
+ color: @maroon;
+}
+
+#custom-weather.hot {
+ color: @red;
+}
+
+#custom-weather.warm {
+ color: @peach;
+}
+
+#custom-weather.mild {
+ color: @yellow;
+}
+
+#custom-weather.cool {
+ color: @mauve;
+}
+
+#custom-weather.chilly {
+ color: @pink;
+}
+
+#custom-weather.cold {
+ color: @flamingo;
+}
+
+#custom-weather.below_zero {
+ color: @rosewater;
+}
+
#custom-mailbox {
color: @yellow;
padding-right: 10px;