From 379a20004c50ba9be5a19eefe0fc7f76a8682019 Mon Sep 17 00:00:00 2001 From: Silas Schöffel Date: Fri, 17 Oct 2025 18:02:04 +0200 Subject: waybar: add inhibitor module --- hm/waybar/default.nix | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'hm') 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; -- cgit 1.4.1