diff options
| author | Craig Jennings <c@cjennings.net> | 2026-01-27 08:51:31 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-01-27 08:51:31 -0600 |
| commit | adfcd6c974a37afc21c2b3b93b428a8678589961 (patch) | |
| tree | f209e7abb946df92465bb3639ec1ff32a8ebcca4 /dotfiles/hyprland/.config/waybar/style.css | |
| parent | f7ae8fd2464c131fb6d9b86f12a229931126d28f (diff) | |
| download | archsetup-adfcd6c974a37afc21c2b3b93b428a8678589961.tar.gz archsetup-adfcd6c974a37afc21c2b3b93b428a8678589961.zip | |
feat(waybar): add warning/critical color thresholds for temperature and disk
Temperature turns yellow at 70°C, red at 80°C using built-in waybar
states. Disk replaced with custom script that turns yellow at 80% full,
red at 90%, working across ZFS/btrfs/ext4. Colors themed per dupre/hudson.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'dotfiles/hyprland/.config/waybar/style.css')
| -rw-r--r-- | dotfiles/hyprland/.config/waybar/style.css | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/dotfiles/hyprland/.config/waybar/style.css b/dotfiles/hyprland/.config/waybar/style.css index 4ee0615..299f1c2 100644 --- a/dotfiles/hyprland/.config/waybar/style.css +++ b/dotfiles/hyprland/.config/waybar/style.css @@ -49,7 +49,7 @@ window#waybar { #cpu, #temperature, #memory, -#disk, +#custom-disk, #custom-netspeed, #battery, #wireplumber, @@ -73,7 +73,7 @@ window#waybar { #cpu:hover, #temperature:hover, #memory:hover, -#disk:hover, +#custom-disk:hover, #custom-netspeed:hover, #wireplumber:hover, #sysmonitor:hover, @@ -94,6 +94,22 @@ window#waybar { color: #ff5858; } +#temperature.warning { + color: #daa520; +} + +#temperature.critical { + color: #ff5858; +} + +#custom-disk.warning { + color: #daa520; +} + +#custom-disk.critical { + color: #ff5858; +} + #battery.warning { color: #daa520; } |
