diff options
Diffstat (limited to 'dot_config/waybar')
| -rw-r--r-- | dot_config/waybar/config.jsonc | 33 | ||||
| -rw-r--r-- | dot_config/waybar/style.css | 6 |
2 files changed, 37 insertions, 2 deletions
diff --git a/dot_config/waybar/config.jsonc b/dot_config/waybar/config.jsonc index 585fa38..7711ba0 100644 --- a/dot_config/waybar/config.jsonc +++ b/dot_config/waybar/config.jsonc @@ -3,13 +3,14 @@ "height": 24, "spacing": 0, - "modules-left": ["sway/workspaces", "sway/mode"], - "modules-center": ["sway/window"], + "modules-left": ["sway/workspaces", "sway/mode", "sway/window"], + "modules-center": [], "modules-right": [ "pulseaudio", "cpu", "temperature", "custom/memory", + "disk", "custom/wifi", "network#bond", "battery", @@ -48,6 +49,24 @@ "tooltip": false, }, + "disk": { + "path": "/", + "unit": "GB", + "interval": 30, + "format": "DSK {specific_used:0.1f}G {percentage_used}%", + "format-low": "DSK {specific_used:0.1f}G <span color='#b8bb26'>{percentage_used}%</span>", + "format-medium": "DSK {specific_used:0.1f}G <span color='#fabd2f'>{percentage_used}%</span>", + "format-high": "DSK {specific_used:0.1f}G <span color='#fe8019'>{percentage_used}%</span>", + "format-critical": "DSK {specific_used:0.1f}G <span color='#fb4934'>{percentage_used}%</span>", + "states": { + "low": 0, + "medium": 30, + "high": 60, + "critical": 80, + }, + "tooltip-format": "{path}: {specific_used:0.1f}G / {specific_total:0.1f}G", + }, + "temperature": { "format": "{temperatureC}°C", "format-cool": "<span color='#b8bb26'>{temperatureC}°C</span>", @@ -89,7 +108,17 @@ "pulseaudio": { "format": "VOL {volume}%", + "format-low": "VOL <span color='#b8bb26'>{volume}%</span>", + "format-medium": "VOL <span color='#fabd2f'>{volume}%</span>", + "format-high": "VOL <span color='#fe8019'>{volume}%</span>", + "format-critical": "VOL <span color='#fb4934'>{volume}%</span>", "format-muted": "MUTE", + "states": { + "low": 0, + "medium": 50, + "high": 80, + "critical": 95, + }, "scroll-step": 5, "on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle", }, diff --git a/dot_config/waybar/style.css b/dot_config/waybar/style.css index d63d8aa..59a41ff 100644 --- a/dot_config/waybar/style.css +++ b/dot_config/waybar/style.css @@ -36,11 +36,13 @@ window#waybar { #clock, #battery, #cpu, +#disk, #memory, #temperature, #network, #pulseaudio, #tray, +#window, #custom-memory, #custom-wifi { padding: 0 6px; @@ -54,6 +56,10 @@ window#waybar { color: #8ec07c; /* aqua */ } +#disk { + color: #d79921; /* ochre */ +} + #temperature { color: #fe8019; /* orange */ } |
