diff options
Diffstat (limited to 'accounts/gkleen@sif/default.nix')
-rw-r--r-- | accounts/gkleen@sif/default.nix | 23 |
1 files changed, 20 insertions, 3 deletions
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 { | |||
302 | output = "eDP-1"; | 302 | output = "eDP-1"; |
303 | modules-left = [ "hyprland/workspaces" ]; | 303 | modules-left = [ "hyprland/workspaces" ]; |
304 | modules-center = [ "hyprland/window" ]; | 304 | modules-center = [ "hyprland/window" ]; |
305 | modules-right = [ "privacy" "clock" "tray" "battery" ]; | 305 | modules-right = [ "privacy" "clock" "tray" "battery" "idle_inhibitor" ]; |
306 | 306 | ||
307 | "hyprland/workspaces" = { | 307 | "hyprland/workspaces" = { |
308 | all-outputs = true; | 308 | all-outputs = true; |
@@ -351,6 +351,10 @@ in { | |||
351 | icon-size = iconSize; | 351 | icon-size = iconSize; |
352 | modules = [ { type = "screenshare"; } { type = "audio-in"; } ]; | 352 | modules = [ { type = "screenshare"; } { type = "audio-in"; } ]; |
353 | }; | 353 | }; |
354 | idle_inhibitor = { | ||
355 | format = "{icon}"; | ||
356 | format-icons = { activated = "󰈈"; deactivated = "󰈉"; }; | ||
357 | }; | ||
354 | } | 358 | } |
355 | { | 359 | { |
356 | layer = "top"; | 360 | layer = "top"; |
@@ -379,7 +383,8 @@ in { | |||
379 | } | 383 | } |
380 | ]; | 384 | ]; |
381 | style = '' | 385 | style = '' |
382 | @define-color white #dddddd; | 386 | @define-color white #ffffff; |
387 | @define-color grey #555555; | ||
383 | @define-color blue #1a8fff; | 388 | @define-color blue #1a8fff; |
384 | @define-color green #23fd00; | 389 | @define-color green #23fd00; |
385 | @define-color orange #f28a21; | 390 | @define-color orange #f28a21; |
@@ -408,6 +413,9 @@ in { | |||
408 | margin: 0 5px; | 413 | margin: 0 5px; |
409 | } | 414 | } |
410 | 415 | ||
416 | #workspaces button { | ||
417 | color: @white; | ||
418 | } | ||
411 | #workspaces button.visible { | 419 | #workspaces button.visible { |
412 | color: @blue; | 420 | color: @blue; |
413 | } | 421 | } |
@@ -418,15 +426,24 @@ in { | |||
418 | color: @red; | 426 | color: @red; |
419 | } | 427 | } |
420 | #workspaces button.empty { | 428 | #workspaces button.empty { |
421 | opacity: 0.5; | 429 | color: @grey; |
422 | } | 430 | } |
423 | 431 | ||
432 | #battery, #idle_inhibitor { | ||
433 | color: @grey; | ||
434 | } | ||
435 | #battery.charging { | ||
436 | color: @white; | ||
437 | } | ||
424 | #battery.warning { | 438 | #battery.warning { |
425 | color: @orange; | 439 | color: @orange; |
426 | } | 440 | } |
427 | #battery.critical { | 441 | #battery.critical { |
428 | color: @red; | 442 | color: @red; |
429 | } | 443 | } |
444 | #idle_inhibitor.activated { | ||
445 | color: @white; | ||
446 | } | ||
430 | ''; | 447 | ''; |
431 | }; | 448 | }; |
432 | wpaperd = { | 449 | wpaperd = { |