mirror of
https://github.com/ksyasuda/dotfiles.git
synced 2025-12-09 10:48:01 -08:00
update waybar to be 3 segments, transparent otherwise
This commit is contained in:
@@ -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,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user