From cc72486aa9abd10b9b9044ef142da5eb32c4e648 Mon Sep 17 00:00:00 2001 From: Salt Date: Fri, 12 Oct 2018 00:20:10 -0500 Subject: [PATCH] Polybar: Add and polish i3 module, i3 mode module --- .config/polybar/config | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/.config/polybar/config b/.config/polybar/config index 80f3ca21..6dd857f3 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -88,8 +88,8 @@ inherit = template/bar border-top-size = 0 modules-left = ${env:PB_BAR_PRIMARY_MODULES_LEFT:battery cpu memory} -modules-center = ${env:PB_BAR_PRIMARY_MODULES_CENTER: bspwm} -modules-right = ${env:PB_BAR_PRIMARY_MODULES_RIGHT:tor xbacklight volume date} +modules-center = ${env:PB_BAR_PRIMARY_MODULES_CENTER:i3 bspwm} +modules-right = ${env:PB_BAR_PRIMARY_MODULES_RIGHT:tor i3-mode xbacklight volume date} [bar/primary-2] monitor = ${env:PB_MONITOR:eDP-1} @@ -264,23 +264,19 @@ label-focused-padding = ${res/config.padding} label-focused-foreground = ${res/colors.mod-wm} label-focused-font = 2 -label-dimmed-overline = ${res/colors.background} -label-dimmed-underline = ${self.label-dimmed-overline} +label-unfocused = ${self.label-focused} +label-unfocused-padding = ${res/config.padding} +label-unfocused-font = 2 -label-occupied = ${self.label-focused} -label-occupied-padding = ${res/config.padding} -label-occupied-font = 2 +label-visible-foreground = ${res/colors.foreground-dark} +label-visible-padding = ${res/config.padding} +label-visible-font = 2 label-urgent = ${self.label-focused} label-urgent-padding = ${res/config.padding} label-urgent-foreground = ${res/colors.alert} label-urgent-font = 2 -label-empty = ${self.label-focused} -label-empty-padding = ${res/config.padding} -label-empty-foreground = ${res/colors.foreground-dark} -label-empty-font = 3 - [module/i3-mode] type = internal/i3 format =