better polybar

This commit is contained in:
Cyryl Płotnicki 2019-07-14 19:30:06 +01:00
parent 2cc583348c
commit 18d4a21431

View file

@ -23,9 +23,9 @@
padding-right = "1%"; padding-right = "1%";
module-margin-left = 1; module-margin-left = 1;
module-margin-right = 1; module-margin-right = 1;
modules-left = "xwindow"; modules-left = "i3";
modules-center = "date"; modules-center = "date";
modules-right = "backlight volume memory cpu battery-label battery1 battery0"; modules-right = "memory cpu battery-label battery1 battery0";
}; };
"module/date" = { "module/date" = {
@ -36,10 +36,8 @@
label = "%date% %time%"; label = "%date% %time%";
}; };
"module/xwindow" = { "module/i3" = {
type = "internal/xwindow"; type = "internal/i3";
label = "%title:0:30:...%";
label-padding = 10;
}; };
"module/cpu" = { "module/cpu" = {
@ -54,12 +52,6 @@
label = "MEM: %percentage_used%%"; label = "MEM: %percentage_used%%";
}; };
"module/volume" = {
type = "internal/pulseaudio";
use-ui-max = true;
format-volume = "<bar-volume>";
};
"module/battery-label" = { "module/battery-label" = {
type = "custom/text"; type = "custom/text";
content = "BAT:"; content = "BAT:";
@ -83,15 +75,6 @@
label-discharging = "%percentage%%|%time%"; label-discharging = "%percentage%%|%time%";
}; };
"module/backlight" = {
type = "internal/backlight";
format = "LIGHT: <bar>";
card = "intel_backlight";
bar-width = 6;
bar-indicator = "|";
bar-fill = "";
bar-empty = "";
};
}; };
}; };