[waybar] chore: Hide power management under battery

This commit is contained in:
Tibo De Peuter 2024-09-25 18:43:21 +02:00
parent 0ef21309f4
commit b14b9392fe
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2
2 changed files with 24 additions and 10 deletions

View file

@ -3,15 +3,14 @@
"sway/workspaces", "sway/workspaces",
"custom/scratchpad-indicator", "custom/scratchpad-indicator",
"mpris", "mpris",
"group/system", "group/system"
], ],
"modules-right": [ "modules-right": [
"group/hardware", "group/hardware",
"custom/sep",
"bluetooth", "bluetooth",
"network", "network",
"pulseaudio", "pulseaudio",
"battery", "group/battery",
"custom/sep", "custom/sep",
"tray" "tray"
] ]

View file

@ -132,24 +132,39 @@
"tooltip": true "tooltip": true
}, },
"group/hardware": { "group/battery": {
"orientation": "inherit", "orientation": "inherit",
"modules": [ "modules": [
"power-profiles-daemon", "battery",
"memory",
"cpu",
"temperature",
"custom/system-shutdown", "custom/system-shutdown",
"custom/system-reboot", "custom/system-reboot",
"custom/system-hibernate", "custom/system-hibernate",
"custom/system-sleep", "custom/system-sleep",
"custom/system-lock", "custom/system-lock",
"custom/sep",
"power-profiles-daemon",
"custom/sep"
], ],
"drawer": { "drawer": {
"transition-duration": 500, "transition-duration": 500,
"transition-left-to-right": false, "transition-left-to-right": false,
"children-class": "drawer-child", "children-class": "drawer-child"
}
}, },
"group/hardware": {
"orientation": "inherit",
"modules": [
"custom/sep",
"memory",
"cpu",
"temperature"
],
"drawer": {
"transition-duration": 500,
"transition-left-to-right": false,
"children-class": "drawer-child"
}
}, },
"group/system": { "group/system": {