Polybar: Simplify tiling WM modules

This commit is contained in:
Salt 2017-09-06 22:02:50 -05:00
parent 5eebcf5818
commit c252bb17d8

View File

@ -115,7 +115,7 @@ modules-right = | xbacklight-ramp-mini volume-ramp-mini wlan-network-mini batter
[module/|]
type = custom/text
content = |
content-foreground = ${res/colors.background-4}
content-foreground = ${res/colors.foreground-4}
# CUSTOM
#====================
@ -174,7 +174,6 @@ label-mode-background = ${res/colors.primary}
# Active workspace on focused monitor
label-focused = %name%
label-focused-padding = ${self.label-mode-padding}
label-focused-background = ${res/colors.background-4}
label-focused-overline = ${res/colors.primary}
# Active workspace on unfocused monitor
@ -207,20 +206,18 @@ ws-icon-default = 
# Active workspace on focused monitor
label-focused = %icon%
label-focused-padding = 2
label-focused-background = ${res/colors.background-4}
label-focused-foreground = ${res/colors.primary}
label-focused-overline = ${res/colors.primary}
# Inactive filled workspace on focused monitor
label-occupied = ${self.label-focused}
label-occupied-padding = ${self.label-focused-padding}
label-occupied-foreground = ${res/colors.background}
label-occupied-background = ${res/colors.background-4}
label-occupied-foreground = ${res/colors.primary}
# Inactive empty workspace on focused monitor
label-empty = ${self.label-focused}
label-empty-padding = ${self.label-focused-padding}
label-empty-foreground = ${res/colors.background-4}
label-empty-background = ${res/colors.background}
# Filled workspace on unfocused monitor
label-dimmed-padding = ${self.label-focused-padding}
@ -230,7 +227,7 @@ label-dimmed-background = ${res/colors.background-4}
# Urgent workspace on any monitor
label-urgent = ${self.label-focused}
label-urgent-padding = ${self.label-focused-padding}
label-urgent-overline = ${res/colors.alert}
label-urgent-foreground = ${res/colors.alert}
[module/battery-ramp]
inherit = template/module/battery