update waybar to be 3 segments, transparent otherwise

This commit is contained in:
2025-05-04 16:14:32 -07:00
parent 24be7ed582
commit 5818cb01b8
2 changed files with 40 additions and 5 deletions

View File

@@ -17,10 +17,12 @@
"custom/firefox-scroll",
"cava",
],
"modules-center": ["hyprland/window"],
// "modules-center": ["hyprland/window"],
"modules-center": ["custom/notification"],
"modules-right": [
"hyprland/scratchpad",
"idle_inhibitor",
// "idle_inhibitor",
// "custom/notification",
"custom/updates",
"custom/kernel",
// "disk#ssd",
@@ -306,4 +308,24 @@
"on-click": "playerctl -p firefox play-pause",
"hide-empty-text": true,
},
"custom/notification": {
"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": "swaync-client -t -sw",
"on-click-right": "swaync-client -d -sw",
"escape": true,
},
}