diff --git a/.config/waybar/config b/.config/waybar/config index 959770a..d5c13ab 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -2,7 +2,7 @@ "layer": "top", "position": "top", "spacing": 0, - "modules-left": ["cpu", "disk", "disk#sda", "disk#nocturnal"], + "modules-left": ["cpu", "disk", "disk#sda", "custom/nocturnal", "custom/azura"], "modules-center": ["sway/workspaces"], "modules-right": ["idle_inhibitor", "tray", "clock"], "sway/workspaces": { @@ -30,8 +30,19 @@ "class": "󰊻", "class": "", "class": "󰝚", + "class": "󰇰" } }, + "custom/nocturnal": { + "exec": "~/.config/waybar/disk.sh /nasfw", + "interval": 60, + "format": " {text}" + }, + "custom/azura": { + "exec": "~/.config/waybar/disk.sh /NAS", + "interval": 60, + "format": "󰖔 {text}" + }, "custom/recording": { "format": "●", "exec": "pgrep wf-recorder", @@ -46,7 +57,7 @@ }, "disk": { "path": "/", - "format": "󱊟 {free}", + "format": " {free}", "tooltip-format": "{free} available on {path}" }, "disk#sda": { @@ -57,8 +68,14 @@ }, "disk#nocturnal": { "path": "/nasfw", - "format": "󰣳 {free}", - "interval": 5, + "format": " {free}", + "interval": 60, + "tooltip-format": "{free} available on {path}" + }, + "disk#azura": { + "path": "/NAS", + "format": "󰖔 {free}", + "interval": 60, "tooltip-format": "{free} available on {path}" }, "idle_inhibitor": { diff --git a/.config/waybar/style.css b/.config/waybar/style.css index 3b33f54..8380f21 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -63,6 +63,8 @@ window { #custom-gpu, #custom-transmission, #custom-recording, +#custom-azura, +#custom-nocturnal, #network, #wireplumber { padding: 0 8px; @@ -75,7 +77,9 @@ window { margin-right: 8px; } -#disk { +#disk, +#custom-azura, +#custom-nocturnal { border-radius: 8px; margin-right: 8px; background: @color3; @@ -88,7 +92,10 @@ window { color: #fee; } #idle_inhibitor { - font-size: 32px; + font-size: 28px; +} + +#idle_inhibitor.activated { } #clock {