home/waybar: Added disk module
This commit is contained in:
parent
1d87eef362
commit
e42f1ae16d
|
@ -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"
|
||||||
|
@ -207,8 +208,8 @@ in
|
||||||
states = {
|
states = {
|
||||||
warning = 80;
|
warning = 80;
|
||||||
critical = 90;
|
critical = 90;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
"network" = {
|
"network" = {
|
||||||
interface = "wl*";
|
interface = "wl*";
|
||||||
format-wifi = " {essid}";
|
format-wifi = " {essid}";
|
||||||
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue