aboutsummaryrefslogtreecommitdiff
path: root/.config/waybar
diff options
context:
space:
mode:
authorawy <awy@tutamail.com>2024-08-27 17:36:26 +0300
committerawy <awy@tutamail.com>2024-08-27 17:36:26 +0300
commitfd953c5191677355b789ea636f61de5a83fbf38c (patch)
tree1d4c45e6ffa8590fe2511f4ca7f5f8374c5781b5 /.config/waybar
parent427dc591da83a94e352840c335ea41b96983e7e4 (diff)
stuff
Diffstat (limited to '.config/waybar')
-rw-r--r--.config/waybar/config14
-rw-r--r--.config/waybar/style.css4
2 files changed, 13 insertions, 5 deletions
diff --git a/.config/waybar/config b/.config/waybar/config
index 96c66c5..0fd19e5 100644
--- a/.config/waybar/config
+++ b/.config/waybar/config
@@ -5,7 +5,7 @@
"reload_style_on_change": true,
"modules-left": ["hyprland/workspaces", "hyprland/window"],
"modules-center": [],
- "modules-right": ["custom/memory","custom/doppler","custom/forecast","custom/nettraf","custom/microphone","custom/volume","custom/clock","custom/internet"],
+ "modules-right": ["custom/memory","custom/doppler","custom/forecast","custom/nettraf","custom/microphone","custom/volume","custom/clock","custom/internet","tray"],
"hyprland/window": {
"format": "{}",
@@ -58,7 +58,8 @@
"signal": 16,
"exec" : "sb-nettraf",
"interval" : 1,
- "on-click": "",
+ "on-click": "sb-nettraf 1",
+ "on-click-right": "sb-nettraf 3"
},
"custom/microphone" : {
@@ -66,9 +67,10 @@
"format": "{}",
"signal": 8,
"exec" : "sb-microphone",
- "on-click": "wpctl set-mute @DEFAULT_SOURCE@ toggle; pkill -RTMIN+8 waybar",
+ "on-click-middle": "wpctl set-mute @DEFAULT_SOURCE@ toggle; pkill -RTMIN+8 waybar",
"on-scroll-up": "wpctl set-volume @DEFAULT_SOURCE@ 0.01+; pkill -RTMIN+8 waybar",
"on-scroll-down": "wpctl set-volume @DEFAULT_SOURCE@ 0.01-; pkill -RTMIN+8 waybar",
+ "on-click-right": "sb-microphone 3",
},
"custom/volume" : {
@@ -76,9 +78,10 @@
"format": "{}",
"signal": 10,
"exec" : "sb-volume",
- "on-click": "wpctl set-mute @DEFAULT_SINK@ toggle; pkill -RTMIN+10 waybar",
+ "on-click-middle": "wpctl set-mute @DEFAULT_SINK@ toggle; pkill -RTMIN+10 waybar",
"on-scroll-up": "wpctl set-volume @DEFAULT_SINK@ 0.01+; pkill -RTMIN+10 waybar",
"on-scroll-down": "wpctl set-volume @DEFAULT_SINK@ 0.01-; pkill -RTMIN+10 waybar",
+ "on-click-right": "sb-volume 3",
},
"custom/clock" : {
@@ -87,7 +90,8 @@
"signal": 1,
"exec" : "sb-clock",
"interval" : 60,
- "on-click": "",
+ "on-click": "sb-clock 1",
+ "on-click-right": "sb-clock 3",
},
"custom/internet" : {
diff --git a/.config/waybar/style.css b/.config/waybar/style.css
index 1da7c10..9c03fd3 100644
--- a/.config/waybar/style.css
+++ b/.config/waybar/style.css
@@ -39,5 +39,9 @@ tooltip {
}
#custom-internet {
+ margin-right: 5px;
+}
+
+#tray {
margin-right: 15px;
}