diff options
Diffstat (limited to 'dotfiles/hyprland/.config/waybar')
| -rw-r--r-- | dotfiles/hyprland/.config/waybar/config | 10 | ||||
| -rw-r--r-- | dotfiles/hyprland/.config/waybar/style.css | 59 |
2 files changed, 41 insertions, 28 deletions
diff --git a/dotfiles/hyprland/.config/waybar/config b/dotfiles/hyprland/.config/waybar/config index 5b9879e..fdff160 100644 --- a/dotfiles/hyprland/.config/waybar/config +++ b/dotfiles/hyprland/.config/waybar/config @@ -28,7 +28,7 @@ "cpu", "temperature", "memory", - "disk", + "custom/disk", "battery" ] }, @@ -62,6 +62,7 @@ "interval": 10, "hwmon-path-abs": "/sys/devices/pci0000:00/0000:00:18.3/hwmon", "input-filename": "temp1_input", + "warning-threshold": 70, "critical-threshold": 80, "format": "<span size='large'></span> {temperatureC}°C", "format-critical": "<span size='large'></span> {temperatureC}°C", @@ -74,10 +75,11 @@ "on-click": "toggle-scratchpad monitor" }, - "disk": { + "custom/disk": { + "exec": "waybar-disk", + "return-type": "json", "interval": 30, - "format": "<span size='large'></span> {percentage_used}%", - "path": "/", + "format": "<span size='large'></span> {}", "on-click": "toggle-scratchpad monitor" }, diff --git a/dotfiles/hyprland/.config/waybar/style.css b/dotfiles/hyprland/.config/waybar/style.css index 03b11b6..299f1c2 100644 --- a/dotfiles/hyprland/.config/waybar/style.css +++ b/dotfiles/hyprland/.config/waybar/style.css @@ -1,5 +1,5 @@ -/* Waybar style - Dupre theme */ -/* Warm, earthy colors from dupre-theme.el */ +/* Waybar style - Hudson theme */ +/* Tomorrow Night + Goldenrod accent */ * { border: none; @@ -22,53 +22,48 @@ window#waybar { padding: 0.5rem; margin: 0.2rem; background-color: transparent; - color: #969385; + color: #bbbbbb; border-radius: 1rem; transition: all 0.3s ease; } #workspaces button.active { - background: #d7af5f; - color: #151311; + background: #daa520; + color: #222222; border-radius: 1rem; } #workspaces button.urgent { - background-color: rgba(212, 124, 89, 0.4); + background-color: rgba(255, 88, 88, 0.4); } .modules-right, .modules-left { - background-color: #151311; + background-color: #222222; border-radius: 1rem; padding: 0.2rem 0.6rem; margin: 0.3rem; - border: 0.095rem solid #d7af5f; + border: 0.095rem solid #daa520; box-shadow: 0rem 0.2rem 0.4rem rgba(0,0,0,0.5); } #cpu, #temperature, #memory, -#disk, +#custom-disk, #custom-netspeed, #battery, #wireplumber, -#idle_inhibitor, #tray, #clock, #custom-layout, #window { padding: 0.4rem; margin: 0.3rem; - color: #969385; + color: #bbbbbb; background-color: transparent; border-radius: 1rem; } -#idle_inhibitor { - margin-right: 0.8rem; -} - #sysmonitor { margin: 0.3rem; background-color: transparent; @@ -78,33 +73,49 @@ window#waybar { #cpu:hover, #temperature:hover, #memory:hover, -#disk:hover, +#custom-disk:hover, #custom-netspeed:hover, #wireplumber:hover, #sysmonitor:hover, #custom-layout:hover { - background-color: #474544; + background-color: #444444; border-radius: 1rem; } #clock { - color: #f0fef0; + color: #eeeeee; } #wireplumber { - color: #969385; + color: #bbbbbb; +} + +#custom-netspeed.disconnected { + color: #ff5858; +} + +#temperature.warning { + color: #daa520; +} + +#temperature.critical { + color: #ff5858; +} + +#custom-disk.warning { + color: #daa520; } -#wireplumber.muted { - color: #58574e; +#custom-disk.critical { + color: #ff5858; } #battery.warning { - color: #d7af5f; + color: #daa520; } #battery.critical { - color: #d47c59; + color: #ff5858; } #tray > .passive { @@ -113,5 +124,5 @@ window#waybar { #tray > .needs-attention { -gtk-icon-effect: highlight; - background-color: #d7af5f; + background-color: #daa520; } |
