home/waybar: Added disk module

This commit is contained in:
fleaz 2023-01-03 11:33:13 +01:00
parent 1d87eef362
commit e42f1ae16d

View file

@ -157,12 +157,13 @@ in
height = 28; height = 28;
modules-left = [ modules-left = [
"sway/workspaces" "sway/workspaces"
"sway/mode"
"sway/window" "sway/window"
]; ];
modules-center = [ modules-center = [
]; ];
modules-right = [ modules-right = [
"sway/mode"
"disk"
"pulseaudio" "pulseaudio"
"network" "network"
"memory" "memory"
@ -243,6 +244,11 @@ in
hwmon-path = "/sys/class/hwmon/hwmon3/temp1_input"; hwmon-path = "/sys/class/hwmon/hwmon3/temp1_input";
critical-threshold = 75; critical-threshold = 75;
}; };
"disk" = {
interval= 30;
format= "{free} free";
path= "/";
};
}; };
} ]; } ];
style = builtins.readFile ./waybar.css; style = builtins.readFile ./waybar.css;