From de2aceb73b9e2e3157a02d6eaa387d9127b502fc Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 11 Aug 2024 20:28:01 +0200 Subject: ... --- accounts/gkleen@sif/default.nix | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) (limited to 'accounts/gkleen@sif') diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix index f6aa9992..947c1fef 100644 --- a/accounts/gkleen@sif/default.nix +++ b/accounts/gkleen@sif/default.nix @@ -302,7 +302,7 @@ in { output = "eDP-1"; modules-left = [ "hyprland/workspaces" ]; modules-center = [ "hyprland/window" ]; - modules-right = [ "privacy" "clock" "tray" "battery" ]; + modules-right = [ "privacy" "clock" "tray" "battery" "idle_inhibitor" ]; "hyprland/workspaces" = { all-outputs = true; @@ -351,6 +351,10 @@ in { icon-size = iconSize; modules = [ { type = "screenshare"; } { type = "audio-in"; } ]; }; + idle_inhibitor = { + format = "{icon}"; + format-icons = { activated = "󰈈"; deactivated = "󰈉"; }; + }; } { layer = "top"; @@ -379,7 +383,8 @@ in { } ]; style = '' - @define-color white #dddddd; + @define-color white #ffffff; + @define-color grey #555555; @define-color blue #1a8fff; @define-color green #23fd00; @define-color orange #f28a21; @@ -408,6 +413,9 @@ in { margin: 0 5px; } + #workspaces button { + color: @white; + } #workspaces button.visible { color: @blue; } @@ -418,15 +426,24 @@ in { color: @red; } #workspaces button.empty { - opacity: 0.5; + color: @grey; } + #battery, #idle_inhibitor { + color: @grey; + } + #battery.charging { + color: @white; + } #battery.warning { color: @orange; } #battery.critical { color: @red; } + #idle_inhibitor.activated { + color: @white; + } ''; }; wpaperd = { -- cgit v1.2.3