From dcaf238c513ddd0ccad07748460886d151a2dfe8 Mon Sep 17 00:00:00 2001 From: Salt Date: Sun, 31 May 2020 18:08:24 -0500 Subject: [PATCH] Polybar: Add bspwm module, use it --- .config/polybar/config | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/.config/polybar/config b/.config/polybar/config index 8bad5338..b9a5de85 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -63,7 +63,7 @@ monitor = ${env:PB_MONITOR:eDP-1} bottom = false inherit = template/bar border-bottom-size = ${res/config.border-size} -modules-left = i3 +modules-left = i3 bspwm modules-center = xwindow modules-right = fshome | wlan @@ -112,6 +112,28 @@ bar-capacity-empty = ${res/config.bar-empty} bar-capacity-empty-foreground = ${res/colors.gray} bar-capacity-indicator = ${res/config.bar-indicator} +[module/bspwm] +type = internal/bspwm +format = +format-padding = 0 +enable-scroll = false +pin-workspaces = true + +label-mode-padding = 4 +label-mode-background = ${res/colors.red} +label-focused = %name% +label-focused-padding = 4 +label-focused-foreground = ${res/colors.bg} +label-focused-background = ${res/colors.selection} +label-dimmed = %name% +label-dimmed-background = ${res/colors.border} +label-dimmed-padding = 4 +label-occupied = %name% +label-occupied-padding = 4 +label-empty = %name% +label-empty-foreground = ${res/colors.gray} +label-empty-padding = 4 + [module/cpu] type = internal/cpu interval = 1