| 1 | [module/xworkspaces] |
| 2 | type = internal/xworkspaces |
| 3 | |
| 4 | format = <label-state> |
| 5 | format-background = ${colors.background} |
| 6 | |
| 7 | ; Padding by prefix/suffix rather than format-padding, and a background on |
| 8 | ; every state, both for the same reason: a label that carries its own |
| 9 | ; background (label-active does) drops polybar back to the *bar's* colour for |
| 10 | ; everything drawn after it -- and the bar is transparent, so anything left |
| 11 | ; unpainted is a hole straight through the island. |
| 12 | format-padding = 0 |
| 13 | format-prefix = " " |
| 14 | format-prefix-background = ${colors.background} |
| 15 | format-suffix = " " |
| 16 | format-suffix-background = ${colors.background} |
| 17 | |
| 18 | label-active = %name% |
| 19 | label-active-background = ${colors.background-alt} |
| 20 | label-active-underline = ${colors.primary} |
| 21 | label-active-padding = 1 |
| 22 | |
| 23 | label-occupied = %name% |
| 24 | label-occupied-background = ${colors.background} |
| 25 | label-occupied-padding = 1 |
| 26 | |
| 27 | label-urgent = %name% |
| 28 | label-urgent-background = ${colors.alert} |
| 29 | label-urgent-padding = 1 |
| 30 | |
| 31 | label-empty = %name% |
| 32 | label-empty-background = ${colors.background} |
| 33 | label-empty-foreground = ${colors.disabled} |
| 34 | label-empty-padding = 1 |
| 35 | |
| 36 | ; vim:ft=dosini |