diff --git a/modules/home/waybar/settings.nix b/modules/home/waybar/settings.nix index ac47394..6da889c 100644 --- a/modules/home/waybar/settings.nix +++ b/modules/home/waybar/settings.nix @@ -33,6 +33,7 @@ "tray" "cpu" "memory" + "disk" "pulseaudio" "network" "clock" @@ -93,6 +94,11 @@ format-alt= " {avg_frequency} GHz"; interval= 2; }; + disk = { + path = "/"; + format = "󰋊 {percentage_used}%"; + interval= 60; + }; network = { format-wifi = " {signalStrength}%"; format-ethernet = "󰀂 "; diff --git a/modules/home/waybar/style.nix b/modules/home/waybar/style.nix index a3a6d35..ab74525 100644 --- a/modules/home/waybar/style.nix +++ b/modules/home/waybar/style.nix @@ -60,7 +60,7 @@ background-size: 200% 200%; } - #tray, #pulseaudio, #network, #cpu, #memory, + #tray, #pulseaudio, #network, #cpu, #memory, #disk, #custom-playerctl.backward, #custom-playerctl.play, #custom-playerctl.foward{ background: #${custom.palette.tertiary_background_hex}; font-weight: bold; @@ -74,6 +74,12 @@ padding-right: 9px; margin-left: 7px; } + #disk { + color: #${custom.tertiary_accent}; + border-radius: 0px 0 0px 0px; + padding-left: 9px; + padding-right: 9px; + } #memory { color: #${custom.tertiary_accent}; border-radius: 0px 24px 10px 0px;