update sblock polybar config

This commit is contained in:
ksyasuda 2021-12-08 00:22:25 -08:00
parent 664cacf190
commit d78f7bc132
2 changed files with 12 additions and 8 deletions

View File

@ -61,7 +61,7 @@ fixed-center = true
; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%), ; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%),
; the percentage can optionally be extended with a pixel offset like so: ; the percentage can optionally be extended with a pixel offset like so:
; 50%:-10, this will result in a width or height of 50% minus 10 pixels ; 50%:-10, this will result in a width or height of 50% minus 10 pixels
width = 95% width = 96%
; height = 34 ; height = 34
height = 65 height = 65
@ -69,7 +69,7 @@ height = 65
; the percentage can optionally be extended with a pixel offset like so: ; the percentage can optionally be extended with a pixel offset like so:
; 50%:-10, this will result in an offset in the x or y direction ; 50%:-10, this will result in an offset in the x or y direction
; of 50% minus 10 pixels ; of 50% minus 10 pixels
offset-x = 2.5% offset-x = 2%
offset-y = 0% offset-y = 0%
; Background ARGB color (e.g. #f00, #ff992a, #ddff1023) ; Background ARGB color (e.g. #f00, #ff992a, #ddff1023)

View File

@ -1368,7 +1368,7 @@ type = internal/xworkspaces
; on different bars ; on different bars
; ;
; Default: false ; Default: false
pin-workspaces = true pin-workspaces = false
; Create click handler used to focus desktop ; Create click handler used to focus desktop
; Default: true ; Default: true
@ -1405,14 +1405,15 @@ format-underline = ${color.background}
; Available tokens: ; Available tokens:
; %name% ; %name%
; Default: %name% ; Default: %name%
label-monitor = %name% ; label-monitor = %name%
; Available tokens: ; Available tokens:
; %name% ; %name%
; %icon% ; %icon%
; %index% ; %index%
; Default: %icon% %name% ; Default: %icon% %name%
label-active = %name% ; label-active = %name%
label-active = %icon%
label-active-foreground = ${color.foreground} label-active-foreground = ${color.foreground}
label-active-background = ${color.primary} label-active-background = ${color.primary}
@ -1422,7 +1423,8 @@ label-active-background = ${color.primary}
; %icon% ; %icon%
; %index% ; %index%
; Default: %icon% %name% ; Default: %icon% %name%
label-occupied = %name% ; label-occupied = %name%
label-occupied = %icon%
label-occupied-foreground = ${color.foreground} label-occupied-foreground = ${color.foreground}
label-occupied-background = ${color.black} label-occupied-background = ${color.black}
@ -1431,7 +1433,8 @@ label-occupied-background = ${color.black}
; %icon% ; %icon%
; %index% ; %index%
; Default: %icon% %name% ; Default: %icon% %name%
label-urgent = %name% ; label-urgent = %name%
label-urgent = %icon%
label-urgent-foreground = ${color.red} label-urgent-foreground = ${color.red}
label-urgent-background = ${color.red} label-urgent-background = ${color.red}
@ -1440,7 +1443,8 @@ label-urgent-background = ${color.red}
; %icon% ; %icon%
; %index% ; %index%
; Default: %icon% %name% ; Default: %icon% %name%
label-empty = %name% ; label-empty = %name%
label-empty = %icon%
label-empty-foreground = ${color.foreground} label-empty-foreground = ${color.foreground}
label-empty-background = ${color.background-alt} label-empty-background = ${color.background-alt}