Simplify i3 workspaces with polybar icons
This commit is contained in:
parent
8be1b224f9
commit
430b018e74
3 changed files with 23 additions and 11 deletions
|
|
@ -93,6 +93,18 @@ format = <label-state> <label-mode>
|
|||
; removes numbers for workspaces which have distinct names / icons
|
||||
strip-wsnumbers = true
|
||||
|
||||
ws-icon-0 = 1;
|
||||
ws-icon-1 = 2;
|
||||
ws-icon-2 = 3;3
|
||||
ws-icon-3 = 4;4
|
||||
ws-icon-4 = 5;5
|
||||
ws-icon-5 = 6;6
|
||||
ws-icon-6 = 7;7
|
||||
ws-icon-7 = 8;8
|
||||
ws-icon-8 = 9;
|
||||
ws-icon-9 = 10;
|
||||
ws-icon-default = ♟
|
||||
|
||||
; Available tokens:
|
||||
; %name%
|
||||
; %icon%
|
||||
|
|
@ -100,22 +112,22 @@ strip-wsnumbers = true
|
|||
; %output%
|
||||
; Default: %icon% %name%
|
||||
; unfocused = Inactive workspace on any monitor
|
||||
label-unfocused = %name%
|
||||
label-unfocused = %icon%
|
||||
label-unfocused-padding = 4
|
||||
label-unfocused-underline = ${colors.background-alt}
|
||||
; focused = Active workspace on focused monitor
|
||||
label-focused = %name%
|
||||
label-focused = %icon%
|
||||
label-focused-foreground = ${colors.foreground}
|
||||
label-focused-background = ${colors.background-alt}
|
||||
label-focused-underline = ${colors.primary}
|
||||
label-focused-padding = ${self.label-unfocused-padding}
|
||||
; visible = Active workspace on unfocused monitor
|
||||
label-visible = %name%
|
||||
label-visible = %icon%
|
||||
label-visible-background = ${self.label-focused-background}
|
||||
label-visible-underline = ${self.label-focused-underline}
|
||||
label-visible-padding = ${self.label-unfocused-padding}
|
||||
; urgent = Workspace with urgency hint set
|
||||
label-urgent = %name%
|
||||
label-urgent = %icon%
|
||||
label-urgent-background = ${colors.alert}
|
||||
label-urgent-padding = ${self.label-unfocused-padding}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue