aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilas Schöffel <sils@sils.li>2025-10-17 18:02:04 +0200
committerSilas Schöffel <sils@sils.li>2025-10-17 18:02:04 +0200
commit379a20004c50ba9be5a19eefe0fc7f76a8682019 (patch)
tree32f2755c2f3e6c9306cd87c224cc54fa74a422a2
parenthyprland: switch to new gesture system (diff)
downloadnix-config-379a20004c50ba9be5a19eefe0fc7f76a8682019.zip
waybar: add inhibitor module
-rw-r--r--hm/waybar/default.nix14
1 files changed, 13 insertions, 1 deletions
diff --git a/hm/waybar/default.nix b/hm/waybar/default.nix
index 201e15d..0c14a8d 100644
--- a/hm/waybar/default.nix
+++ b/hm/waybar/default.nix
@@ -16,6 +16,7 @@
"backlight"
"battery"
"custom/notification"
+ "inhibitor"
"tray"
];
@@ -117,7 +118,18 @@
format-alt = ''{:%d %m %Y}'';
format = ''{:%H %M}'';
};
-
+ inhibitor = {
+ what = [
+ "idle"
+ "sleep"
+ "handle-lid-switch"
+ ];
+ format = ''{icon}'';
+ format-icons = {
+ activated = "";
+ deactivated = "";
+ };
+ };
tray = {
icon-size = 10;
spacing = 5;