diff options
Diffstat (limited to '.config/waybar')
-rw-r--r-- | .config/waybar/config | 30 |
1 files changed, 22 insertions, 8 deletions
diff --git a/.config/waybar/config b/.config/waybar/config index 8b7793c..6e43e9f 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -1,11 +1,12 @@ { "layer": "top", "position": "top", + "output": "DP-2", "spacing": 20, "reload_style_on_change": true, "modules-left": ["hyprland/workspaces", "hyprland/window"], "modules-center": [], - "modules-right": ["custom/packages", "custom/memory","custom/doppler","custom/forecast","custom/mailbox","custom/nettraf","custom/microphone","custom/volume","custom/clock","custom/internet","tray"], + "modules-right": ["custom/packages", "custom/news", "custom/memory", "custom/forecast","custom/mailbox","custom/nettraf","custom/microphone","custom/volume","custom/clock","custom/internet","tray"], "hyprland/window": { "format": "{}", @@ -20,6 +21,17 @@ "format": "{name}", }, + "custom/news" : { + "tooltip": false, + "format": "{}", + "signal": 6, + "exec" : "sb-news", + "on-click": "sb-news 1", + "on-click-right": "sb-news 3", + "on-click-middle": "sb-news 2", + "on-click-backward": "sb-news 6", + }, + "custom/packages" : { "tooltip": false, "format": "{}", @@ -93,12 +105,13 @@ "custom/microphone" : { "tooltip": false, "format": "{}", - "signal": 8, + "signal": 23, "exec" : "sb-microphone", + "interval": 10, "on-click": "sb-microphone 1", - "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-middle": "sb-microphone 2", + "on-scroll-up": "sb-microphone 4", + "on-scroll-down": "sb-microphone 5", "on-click-right": "sb-microphone 3", "on-click-backward": "sb-microphone 6" }, @@ -108,10 +121,11 @@ "format": "{}", "signal": 10, "exec" : "sb-volume", + "interval": 10, "on-click": "sb-volume 1", - "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-middle": "sb-volume 2", + "on-scroll-up": "sb-volume 4", + "on-scroll-down": "sb-volume 5", "on-click-right": "sb-volume 3", "on-click-backward": "sb-volume 6" }, |