Files
polybar/shared/modules.d/workspaces.j2.ini

112 lines
3.4 KiB
INI

;──────────────────────────────────────────────────────────────────────────────;
;░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░;
;░Workspaces░Module░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░;
;░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░;
;──────────────────────────────────────────────────────────────────────────────;
[module/workspaces]
type = internal/xworkspaces
; Only show workspaces defined on the same output as the bar
;
; Useful if you want to show monitor specific workspaces
; on different bars
;
; Default: false
pin-workspaces = true
; Groups workspaces by monitor. If set to false, workspaces are not grouped and
; appear in the order provided by the WM
; If set to false, cannot be used together with label-monitor
; New in version 3.7.0
; Default: true
group-by-monitor = true
; Create click handler used to focus desktop
; Default: true
enable-click = true
; Create scroll handlers used to cycle desktops
; Default: true
enable-scroll = true
format = <label-state>
format-background = ${color.bg}
; Available tokens:
; %name%
; %icon%
; %index%
; Default: %icon% %name%
label-active = %name%
label-urgent = %name%
label-occupied = %name%
label-empty = %name%
;label-active = 
;label-urgent = 
;label-occupied = 
;label-empty = 
icon-default =
label-empty-padding = 1
label-active-padding = 1
label-urgent-padding = 1
label-occupied-padding = 1
label-empty-foreground = ${color.fg}
label-active-foreground = ${color.fg}
label-urgent-foreground = ${color.red}
label-occupied-foreground = ${color.blue-gray}
label-empty-background = ${color.bg}
label-active-background = ${color.bg}
label-urgent-background = ${color.red}
label-occupied-background = ${color.bg}
[module/workspace_active]
type = internal/xworkspaces
; Only show workspaces defined on the same output as the bar
;
; Useful if you want to show monitor specific workspaces
; on different bars
;
; Default: false
pin-workspaces = true
; Groups workspaces by monitor. If set to false, workspaces are not grouped and
; appear in the order provided by the WM
; If set to false, cannot be used together with label-monitor
; New in version 3.7.0
; Default: true
group-by-monitor = true
; Create click handler used to focus desktop
; Default: true
enable-click = true
; Create scroll handlers used to cycle desktops
; Default: true
enable-scroll = true
format = <label-state>
format-background = ${color.bg}
; Available tokens:
; %name%
; %icon%
; %index%
; Default: %icon% %name%
label-active = %name%
label-urgent =
label-occupied =
label-empty =
label-active-padding = 1
label-active-foreground = ${color.fg}
label-active-background = ${color.bg}