Merge pull request #118 from leonhazen/waybar-tray

Add collapsing tray to waybar
This commit is contained in:
David Heinemeier Hansson
2025-07-10 18:37:40 -04:00
committed by GitHub
2 changed files with 21 additions and 0 deletions

View File

@ -10,6 +10,7 @@
"clock" "clock"
], ],
"modules-right": [ "modules-right": [
"group/tray",
"bluetooth", "bluetooth",
"network", "network",
"pulseaudio", "pulseaudio",
@ -100,5 +101,23 @@
"tooltip-format": "Playing at {volume}%", "tooltip-format": "Playing at {volume}%",
"on-click-right": "pamixer -t", "on-click-right": "pamixer -t",
"ignored-sinks": ["Easy Effects Sink"] "ignored-sinks": ["Easy Effects Sink"]
},
"group/tray": {
"orientation": "inherit",
"drawer": {
"transition-duration": 600
},
"modules": [
"custom/expand",
"tray"
]
},
"custom/expand": {
"format": " ",
"tooltip": false
},
"tray": {
"icon-size": 12,
"spacing": 12
} }
} }

View File

@ -17,6 +17,8 @@
} }
#custom-dropbox, #custom-dropbox,
#custom-expand,
#tray,
#cpu, #cpu,
#battery, #battery,
#network, #network,