Remove launcher and unused code from polybar
This commit is contained in:
parent
a45f2c1ecf
commit
d418d26868
1 changed files with 1 additions and 40 deletions
|
@ -121,7 +121,7 @@ in
|
|||
];
|
||||
|
||||
modules = {
|
||||
left = "launcher workspaces playerctl";
|
||||
left = "workspaces playerctl";
|
||||
center = "date";
|
||||
right = "headset-battery memory cpu pulseaudio network";
|
||||
};
|
||||
|
@ -162,68 +162,29 @@ in
|
|||
pseudo.transparency = false;
|
||||
};
|
||||
|
||||
"module/launcher" = {
|
||||
type = "custom/text";
|
||||
content.text = "";
|
||||
content.padding = 2;
|
||||
|
||||
click.left = "${pkgs.rofi}/bin/rofi -show drun -no-lazy-grab";
|
||||
};
|
||||
|
||||
"module/workspaces" = {
|
||||
# type = "internal/xworkspaces";
|
||||
# pin.workspaces = true;
|
||||
# enable.click = true;
|
||||
# enable.scroll = true;
|
||||
|
||||
# icon.text = [ "1;" "2;" "3;" "4;" "5;" ];
|
||||
# icon.default = "";
|
||||
|
||||
# format.text = "<label-state>";
|
||||
# format.padding = 1;
|
||||
|
||||
# label.active.text = "";
|
||||
# label.occupied.text = "";
|
||||
# label.empty.text = "";
|
||||
|
||||
# label.urgent.text = "";
|
||||
# label.urgent.background = "${colors.urgent}";
|
||||
|
||||
# label.active.padding = 1;
|
||||
# label.urgent.padding = 1;
|
||||
# label.occupied.padding = 1;
|
||||
# label.empty.padding = 1;
|
||||
|
||||
type = "internal/i3";
|
||||
pin.workspaces = true;
|
||||
strip.wsnumbers = true;
|
||||
enable.click = true;
|
||||
enable.scroll = true;
|
||||
|
||||
# ws.icon.text = [ "1;" "2;" "3;" "4;" "5;" "6;" "7;" "8;" "9;" "10;" ];
|
||||
# ws.icon.text = [ "1" "2" "3" "4" "5" "6" "7" "8" "9" "10" ];
|
||||
# ws.icon.default = "";
|
||||
|
||||
format = "<label-state> <label-mode>";
|
||||
|
||||
label.mode.text = "%mode%";
|
||||
label.mode.padding = 1;
|
||||
|
||||
# label.focused.text = "";
|
||||
label.focused.text = "%index%";
|
||||
label.focused.padding = 1;
|
||||
label.focused.background = "#333333";
|
||||
label.focused.underline = "#ffffff";
|
||||
|
||||
# label.unfocused.text = "";
|
||||
label.unfocused.text = "%index%";
|
||||
label.unfocused.padding = 1;
|
||||
|
||||
# label.visible.text = "";
|
||||
label.visible.text = "%index%";
|
||||
label.visible.padding = 1;
|
||||
|
||||
# label.urgent.text = "";
|
||||
label.urgent.text = "%index%";
|
||||
label.urgent.background = "${colors.urgent}";
|
||||
label.urgent.padding = 1;
|
||||
|
|
Loading…
Reference in a new issue