diff options
Diffstat (limited to '')
-rw-r--r-- | hm/waybar/default.nix | 14 |
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; |