diff options
| -rw-r--r-- | .config/waybar/config | 10 | ||||
| -rw-r--r-- | .config/waybar/style.css | 8 |
2 files changed, 17 insertions, 1 deletions
diff --git a/.config/waybar/config b/.config/waybar/config index a6dd28c..7d6b519 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -6,7 +6,7 @@ "modules-left": ["sway/mode", "sway/workspaces", "sway/window", "custom/media", "custom/toggl"], "modules-center": ["clock#local", "clock#utc"], - "modules-right": ["cpu", "memory", "temperature", "idle_inhibitor", "backlight", "pulseaudio", "network#wg", "network", "battery", "tray"], + "modules-right": ["cpu", "memory", "disk#root", "disk#home", "temperature", "idle_inhibitor", "backlight", "pulseaudio", "network#wg", "network", "battery", "tray"], "sway/workspaces": { "disable-scroll": true, "all-outputs": false, @@ -56,6 +56,14 @@ "format": "({:<small>%Z</small> %H:%M})", "tooltip-format": "{:%Z %z}" }, + "disk#root": { + "path": "/", + "format": "<small>/ </small>{percentage_used}%" + }, + "disk#home": { + "path": "/home", + "format": "<small>/home </small>{percentage_used}% " + }, "cpu": { "format": "{usage}% " }, diff --git a/.config/waybar/style.css b/.config/waybar/style.css index 466921b..cc85e29 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -73,6 +73,7 @@ window#waybar.hidden { #battery, #cpu, #memory, +#disk, #temperature, #backlight, #network, @@ -100,6 +101,13 @@ window#waybar.hidden { color: @dimmed; } +#disk.root { + margin-right: 0; + padding-right: 0; +} +#disk.home { +} + #battery { } #battery.charging { |