diff options
| author | Rosa <rosaontheweb@proton.me> | 2026-01-13 18:52:01 -0500 |
|---|---|---|
| committer | Rosa <rosaontheweb@proton.me> | 2026-01-13 18:52:01 -0500 |
| commit | 16ded7f61e06eb328e7d79c1de8cefaece926889 (patch) | |
| tree | f3efc683a082919e25390913a0dcb6cded7c1100 /modules/user | |
| parent | 7ca5041f06a74d87e2be064c01f94a04b6a2a225 (diff) | |
i was not done
Diffstat (limited to 'modules/user')
| -rw-r--r-- | modules/user/desktop/swayfx.nix | 4 | ||||
| -rw-r--r-- | modules/user/desktop/waybar.css | 19 |
2 files changed, 21 insertions, 2 deletions
diff --git a/modules/user/desktop/swayfx.nix b/modules/user/desktop/swayfx.nix index 54ed913..d3a975e 100644 --- a/modules/user/desktop/swayfx.nix +++ b/modules/user/desktop/swayfx.nix @@ -34,7 +34,7 @@ battery = { format = "{icon}"; - format-critical = "!! {capacity}% {icon} !!"; + format-critical = "{icon} ({capacity}%)"; format-icons = [ "" "" "" "" ]; format-time = "{H}h{m}m"; format-warning = "{icon} ({capacity}%)"; @@ -83,7 +83,7 @@ format-ethernet = " {ipaddr}/{cidr}"; format-icons = [ "" "" "" "" ]; format-wifi = "{essid} {icon}"; - interval = 15; + interval = 1; tooltip-format = "{ifname} tx: {bandwidthUpBytes} rx: {bandwidthDownBytes}"; tooltip-format-wifi = "{ifname} ({ipaddr}/{cidr}) {signalStrength}% tx: {bandwidthUpBytes} rx: {bandwidthDownBytes}"; }; diff --git a/modules/user/desktop/waybar.css b/modules/user/desktop/waybar.css index 0f71c17..decf542 100644 --- a/modules/user/desktop/waybar.css +++ b/modules/user/desktop/waybar.css @@ -63,6 +63,25 @@ tooltip label { margin-right: 8px; } +@keyframes blink { + to { + color: #e0def4; + } +} + +#battery.charging { + color: #9ccfd8; +} + +#battery.critical:not(.charging) { + animation-direction: alternate; + animation-duration: 0.5s; + animation-iteration-count: infinite; + animation-name: blink; + animation-timing-function: steps(2); + color: #eb6f92; +} + #cpu { box-shadow: inset 0 -2px #ebbcba; } |
