diff options
Diffstat (limited to 'config/waybar/modules')
| -rw-r--r-- | config/waybar/modules | 28 |
1 files changed, 24 insertions, 4 deletions
diff --git a/config/waybar/modules b/config/waybar/modules index a462e75d..2841dc36 100644 --- a/config/waybar/modules +++ b/config/waybar/modules @@ -526,7 +526,7 @@ "exec": "echo ; echo app launcher", "interval" : 86400, // once every day "tooltip": true, - "on-click": "pkill rofi || rofi -show drun -modi run,drun,filebrowser", + "on-click": "pkill rofi || rofi -show drun -modi run,drun,filebrowser,window", "on-click-middle": "~/.config/hypr/scripts/WallpaperSelect.sh", "on-click-right": "~/.config/hypr/scripts/WaybarLayout.sh", }, @@ -544,6 +544,27 @@ "on-scroll-down": "~/.config/hypr/scripts/Volume.sh --dec", "smooth-scrolling-threshold": 1, }, + +"custom/swaync": { + "tooltip":true, + "format": "{icon} {}", + "format-icons": { + "notification": "<span foreground='red'><sup></sup></span>", + "none": "", + "dnd-notification": "<span foreground='red'><sup></sup></span>", + "dnd-none": "", + "inhibited-notification": "<span foreground='red'><sup></sup></span>", + "inhibited-none": "", + "dnd-inhibited-notification": "<span foreground='red'><sup></sup></span>", + "dnd-inhibited-none": "" + }, + "return-type": "json", + "exec-if": "which swaync-client", + "exec": "swaync-client -swb", + "on-click": "sleep 0.1 && swaync-client -t -sw", + "on-click-right": "swaync-client -d -sw", + "escape": true, +}, "custom/power": { "format": "⏻ ", @@ -569,8 +590,8 @@ "format-alt-click": "click", "interval": 3600, "return-type": "json", - "exec": "~/.config/hypr/scripts/Weather.sh", - //"exec": "~/.config/hypr/scripts/Weather.py", + "exec": "~/.config/hypr/UserScripts/Weather.sh", + //"exec": "~/.config/hypr/UserScripts/Weather.py", "exec-if": "ping wttr.in -c1", "tooltip" : true, }, @@ -715,7 +736,6 @@ "tooltip": true, }, - } |
