From b14b9392fea8f103e90a7c5cce280b1d1a217288 Mon Sep 17 00:00:00 2001 From: Tibo De Peuter Date: Wed, 25 Sep 2024 18:43:21 +0200 Subject: [PATCH] [waybar] chore: Hide power management under battery --- stow/waybar/.config/waybar/left.json | 5 ++--- stow/waybar/.config/waybar/modules.json | 29 +++++++++++++++++++------ 2 files changed, 24 insertions(+), 10 deletions(-) diff --git a/stow/waybar/.config/waybar/left.json b/stow/waybar/.config/waybar/left.json index b267c82..8ab0639 100644 --- a/stow/waybar/.config/waybar/left.json +++ b/stow/waybar/.config/waybar/left.json @@ -3,15 +3,14 @@ "sway/workspaces", "custom/scratchpad-indicator", "mpris", - "group/system", + "group/system" ], "modules-right": [ "group/hardware", - "custom/sep", "bluetooth", "network", "pulseaudio", - "battery", + "group/battery", "custom/sep", "tray" ] diff --git a/stow/waybar/.config/waybar/modules.json b/stow/waybar/.config/waybar/modules.json index bb1b26c..026ad07 100644 --- a/stow/waybar/.config/waybar/modules.json +++ b/stow/waybar/.config/waybar/modules.json @@ -132,24 +132,39 @@ "tooltip": true }, - "group/hardware": { + "group/battery": { "orientation": "inherit", "modules": [ - "power-profiles-daemon", - "memory", - "cpu", - "temperature", + "battery", "custom/system-shutdown", "custom/system-reboot", "custom/system-hibernate", "custom/system-sleep", "custom/system-lock", + "custom/sep", + "power-profiles-daemon", + "custom/sep" ], "drawer": { "transition-duration": 500, "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": {