diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2024-08-11 19:18:43 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2024-08-11 19:18:43 +0200 |
commit | 78ae3700357171604c68607ab1e71682ede4aabc (patch) | |
tree | c8a10a07d3a3387c34d6e03e72fd6b60643e73d4 /accounts/gkleen@sif/default.nix | |
parent | 068245db0c23a58cdc4582d02e9f1f03355e7c55 (diff) | |
download | nixos-78ae3700357171604c68607ab1e71682ede4aabc.tar nixos-78ae3700357171604c68607ab1e71682ede4aabc.tar.gz nixos-78ae3700357171604c68607ab1e71682ede4aabc.tar.bz2 nixos-78ae3700357171604c68607ab1e71682ede4aabc.tar.xz nixos-78ae3700357171604c68607ab1e71682ede4aabc.zip |
...
Diffstat (limited to 'accounts/gkleen@sif/default.nix')
-rw-r--r-- | accounts/gkleen@sif/default.nix | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix index 9f48a770..f6049307 100644 --- a/accounts/gkleen@sif/default.nix +++ b/accounts/gkleen@sif/default.nix | |||
@@ -334,8 +334,12 @@ in { | |||
334 | }; | 334 | }; |
335 | battery = { | 335 | battery = { |
336 | format = "{icon}"; | 336 | format = "{icon}"; |
337 | format-icons = ["" "" "" "" ""]; | 337 | states = { warning = 30; critical = 15; }; |
338 | format-icons = ["󰂎" "󰁺" "󰁻" "󰁼" "󰁽" "󰁾" "󰁿" "󰂀" "󰂁" "󰂂" "󰁹" ]; | ||
339 | format-charging = "󰚄"; | ||
340 | format-plugged = "󰚥"; | ||
338 | tooltip-format = "{capacity}% {timeTo}"; | 341 | tooltip-format = "{capacity}% {timeTo}"; |
342 | interval = 20; | ||
339 | }; | 343 | }; |
340 | tray = { | 344 | tray = { |
341 | icon-size = iconSize; | 345 | icon-size = iconSize; |
@@ -378,11 +382,12 @@ in { | |||
378 | @define-color white #dddddd; | 382 | @define-color white #dddddd; |
379 | @define-color blue #1a8fff; | 383 | @define-color blue #1a8fff; |
380 | @define-color green #23fd00; | 384 | @define-color green #23fd00; |
385 | @define-color orange #f28a21; | ||
381 | @define-color red #f2201f; | 386 | @define-color red #f2201f; |
382 | 387 | ||
383 | * { | 388 | * { |
384 | border: none; | 389 | border: none; |
385 | font-family: "Fira Sans"; | 390 | font-family: "Fira Sans Nerd Font"; |
386 | font-size: 10pt; | 391 | font-size: 10pt; |
387 | min-height: 0; | 392 | min-height: 0; |
388 | } | 393 | } |
@@ -392,6 +397,13 @@ in { | |||
392 | color: @white; | 397 | color: @white; |
393 | } | 398 | } |
394 | 399 | ||
400 | .modules-left { | ||
401 | margin-left: 9px; | ||
402 | } | ||
403 | .modules-right { | ||
404 | margin-right: 9px; | ||
405 | } | ||
406 | |||
395 | label.module { | 407 | label.module { |
396 | margin: 0 5px; | 408 | margin: 0 5px; |
397 | } | 409 | } |
@@ -408,6 +420,13 @@ in { | |||
408 | #workspaces button.empty { | 420 | #workspaces button.empty { |
409 | opacity: 0.5; | 421 | opacity: 0.5; |
410 | } | 422 | } |
423 | |||
424 | #battery.warning { | ||
425 | color: @orange; | ||
426 | } | ||
427 | #battery.critical { | ||
428 | color: @red; | ||
429 | } | ||
411 | ''; | 430 | ''; |
412 | }; | 431 | }; |
413 | wpaperd = { | 432 | wpaperd = { |