From 245ab326fd83a451d9f1abcc5962d80a9652c794 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Tue, 4 Jun 2024 16:52:29 -0400 Subject: [PATCH] update: use drawer to have idle_inhibiner --- waybar/themes/ml4w-blur-custom/config | 2 +- waybar/themes/ml4w-blur-custom/modules.json | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/waybar/themes/ml4w-blur-custom/config b/waybar/themes/ml4w-blur-custom/config index 2c4941a..05c1207 100644 --- a/waybar/themes/ml4w-blur-custom/config +++ b/waybar/themes/ml4w-blur-custom/config @@ -47,7 +47,7 @@ "battery", "battery#charging", "tray", - "custom/exit" + "group/power" ] }, { // General Settings diff --git a/waybar/themes/ml4w-blur-custom/modules.json b/waybar/themes/ml4w-blur-custom/modules.json index 82752b1..677ff08 100644 --- a/waybar/themes/ml4w-blur-custom/modules.json +++ b/waybar/themes/ml4w-blur-custom/modules.json @@ -347,6 +347,19 @@ ] }, + "group/power": { + "orientation": "inherit", + "drawer": { + "transition-duration": 300, + "children-class": "not-memory", + "transition-left-to-right": false + }, + "modules": [ + "custom/exit", + "idle_inhibitor" + ] + }, + // Group Settings "group/settings": { "orientation": "horizontal",