add privacy and disk to waybar
This commit is contained in:
parent
158c761ae2
commit
0d7022d7c1
|
@ -26,8 +26,11 @@ in {
|
|||
];
|
||||
|
||||
modules-right = [
|
||||
"privacy"
|
||||
"cpu"
|
||||
"memory"
|
||||
"disk"
|
||||
"temperature"
|
||||
"keyboard-state"
|
||||
"tray"
|
||||
];
|
||||
|
@ -42,8 +45,6 @@ in {
|
|||
"clock" = {
|
||||
interval = 60;
|
||||
format = "{:%A %B %d %Y %H:%M}";
|
||||
tooltip = true;
|
||||
tooltip-format = "{}";
|
||||
};
|
||||
"cpu" = {
|
||||
format = "cpu {usage}%";
|
||||
|
@ -54,6 +55,14 @@ in {
|
|||
tooltip = true;
|
||||
tooltip-format = "{used}/{total}";
|
||||
};
|
||||
"disk" = {
|
||||
format = "disk {specific_used:0.0f}/{specific_total:0.0f}";
|
||||
unit = "GiB";
|
||||
tooltip = false;
|
||||
};
|
||||
"privacy" = {
|
||||
icon-size = 12;
|
||||
};
|
||||
};
|
||||
};
|
||||
style = ''
|
||||
|
@ -86,8 +95,8 @@ in {
|
|||
.modules-left > widget:not(:first-child),
|
||||
.modules-center > widget:not(:first-child),
|
||||
.modules-right > widget:not(:first-child) {
|
||||
margin-left: 8px;
|
||||
padding-left: 8px;
|
||||
margin-left: 12px;
|
||||
padding-left: 12px;
|
||||
border-left: 1px solid rgba(255, 255, 255, 0.08);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue