From d418d26868016f6a1115b8928940084996495879 Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Wed, 29 Mar 2023 16:18:59 +0200 Subject: [PATCH] Remove launcher and unused code from polybar --- home-manager/modules/polybar/default.nix | 41 +----------------------- 1 file changed, 1 insertion(+), 40 deletions(-) diff --git a/home-manager/modules/polybar/default.nix b/home-manager/modules/polybar/default.nix index 902ef76..bfa8906 100644 --- a/home-manager/modules/polybar/default.nix +++ b/home-manager/modules/polybar/default.nix @@ -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 = ""; - # 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.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;