dotfiles/polybar/conf.d/mod_i3

33 lines
941 B
Text
Raw Normal View History

2022-07-15 21:37:39 +02:00
[module/i3]
type = internal/i3
format = <label-state> <label-mode>
index-sort = true
wrapping-scroll = false
2022-07-21 22:24:38 +02:00
2022-07-15 21:37:39 +02:00
; Only show workspaces on the same output as the bar
;pin-workspaces = true
label-mode-padding = 2
label-mode-foreground = #000
label-mode-background = ${colors.primary}
2022-07-21 22:24:38 +02:00
2022-07-15 21:37:39 +02:00
; focused = Active workspace on focused monitor
label-focused = %index%
2022-07-21 22:24:38 +02:00
label-focused-background = #32CD32
2022-07-15 21:37:39 +02:00
label-focused-underline= ${colors.primary}
label-focused-padding = 2
2022-07-21 22:24:38 +02:00
2022-07-15 21:37:39 +02:00
; unfocused = Inactive workspace on any monitor
label-unfocused = %index%
label-unfocused-padding = 2
2022-07-21 22:24:38 +02:00
2022-07-15 21:37:39 +02:00
; visible = Active workspace on unfocused monitor
label-visible = %index%
label-visible-background = ${self.label-focused-background}
label-visible-underline = ${self.label-focused-underline}
label-visible-padding = ${self.label-focused-padding}
2022-07-21 22:24:38 +02:00
2022-07-15 21:37:39 +02:00
; urgent = Workspace with urgency hint set
label-urgent = %index%
label-urgent-background = ${colors.alert}
label-urgent-padding = 2