about summary refs log tree commit diff stats
path: root/hm
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 /hm
parenthyprland: switch to new gesture system (diff)
downloadnix-config-main.zip
waybar: add inhibitor module HEAD main
Diffstat (limited to '')
-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;