waybar cleanup

This commit is contained in:
2026-08-22 11:26:19 +02:00
parent 4b56db6e16
commit 49775d2b18
4 changed files with 55 additions and 61 deletions
+3 -28
View File
@@ -19,9 +19,7 @@
"modules-right": [
"battery",
"pulseaudio",
"custom/notification",
"tray",
"custom/power",
"clock"
],
// Modules configuration
@@ -44,6 +42,7 @@
"dwl/window": {
"format": "{layout} {title}",
"max-length": 50,
"tooltip": false,
"rewrite": {
" \\| ": ""
}
@@ -119,7 +118,8 @@
"format-icons": {
"default": ["", "", ""]
},
"on-click": "pavucontrol"
"on-click": "pavucontrol",
"on-click-right": "~/.config/waybar/scripts/audio-output-menu.sh"
},
"bluetooth": {
"format": "󰂲",
@@ -133,31 +133,6 @@
},
"on-click": "blueman-manager",
"tooltip-format-connected": "{device_enumerate}"
},
"custom/notification": {
"format": "{icon} {text}",
"tooltip": false,
"format-icons": {
"notification": "󱅫",
"none": "",
"dnd-notification": "",
"dnd-none": "󰂛",
"inhibited-notification": "",
"inhibited-none": "",
"dnd-inhibited-notification": "",
"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
},
"custom/power": {
"format" : "⏻",
"tooltip": false,
"on-click": "wlogout"
}
}