diff options
author | Sébastien Dailly <sebastien@chimrod.com> | 2021-09-14 21:54:44 +0200 |
---|---|---|
committer | Sébastien Dailly <sebastien@chimrod.com> | 2021-09-14 21:54:44 +0200 |
commit | 1fa228f8d3695a0b6af4d98769fe479b802ad381 (patch) | |
tree | 2f94ec2b30f0358897e53069c79b66bc4fa4f743 /polybar | |
parent | a23541914516df4d5ca02df7705f548602451b85 (diff) |
Variable declarion in polybar config
Diffstat (limited to 'polybar')
-rw-r--r-- | polybar/.config/polybar/config | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/polybar/.config/polybar/config b/polybar/.config/polybar/config index a8094af..43f70d5 100644 --- a/polybar/.config/polybar/config +++ b/polybar/.config/polybar/config @@ -23,7 +23,7 @@ secondary = #e60053 alert = ${xrdb:color1} [global/wm] -margin-top = 0 +#margin-top = 0 margin-bottom = 0 [bar/i3] @@ -96,6 +96,7 @@ label-empty-foreground = ${colors.foreground-alt} label-empty-padding = 2 [module/i3] +label = %icon%%name% label-active-font = 0 type = internal/i3 index-sort = false @@ -109,30 +110,28 @@ label-mode-padding = 2 #border-size = 1 #border-colol = #000 -#label-focused = %name% -label-focused = %icon%%name% +label-focused = ${self.label} label-focused-background = ${colors.foreground-alt} label-focused-padding = ${module/bspwm.label-focused-padding} label-focused-foreground = ${colors.foreground} -label-unfocused = %icon%%name% +label-unfocused = ${self.label} label-unfocused-padding = ${module/bspwm.label-occupied-padding} label-unfocused-background = ${colors.background-alt} label-unfocused-foreground = ${colors.foreground-alt} -label-urgent = %icon%%name% +label-urgent = ${self.label} label-urgent-background = ${colors.background} label-urgent-foreground = ${module/bspwm.label-urgent-background} label-urgent-underline = ${module/bspwm.label-urgent-background} label-urgent-padding = ${module/bspwm.label-urgent-padding} -label-visible = %icon%%name% +label-visible = ${self.label} label-visible-background = ${self.label-focused-background} #label-visible-underline = ${self.label-focused-underline} label-visible-padding = ${self.label-focused-padding} strip-wsnumbers = true - fuzzy-match = true |