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