mirror of
https://github.com/polybar/polybar.git
synced 2024-11-11 13:50:56 -05:00
docs: Update example config
This commit is contained in:
parent
5283fbff01
commit
5535a75bef
1 changed files with 19 additions and 13 deletions
|
@ -18,31 +18,27 @@ primary = #ffb52a
|
||||||
secondary = #e60053
|
secondary = #e60053
|
||||||
alert = #bd2c40
|
alert = #bd2c40
|
||||||
|
|
||||||
[global/wm]
|
|
||||||
margin-top = 5
|
|
||||||
margin-bottom = 5
|
|
||||||
|
|
||||||
[bar/example]
|
[bar/example]
|
||||||
;monitor = ${env:MONITOR:HDMI-1}
|
;monitor = ${env:MONITOR:HDMI-1}
|
||||||
width = 100%
|
width = 100%
|
||||||
height = 27
|
height = 27
|
||||||
offset-x = 0
|
;offset-x = 1%
|
||||||
offset-y = 0
|
;offset-y = 1%
|
||||||
|
radius = 6.0
|
||||||
fixed-center = false
|
fixed-center = false
|
||||||
|
|
||||||
background = ${colors.background}
|
background = ${colors.background}
|
||||||
foreground = ${colors.foreground}
|
foreground = ${colors.foreground}
|
||||||
|
|
||||||
overline-size = 2
|
line-size = 3
|
||||||
overline-color = #f00
|
line-color = #f00
|
||||||
underline-size = 2
|
|
||||||
underline-color = #00f
|
|
||||||
|
|
||||||
border-bottom-size = 2
|
border-size = 4
|
||||||
border-bottom-color = #333
|
border-color = #00000000
|
||||||
|
|
||||||
padding-left = 0
|
padding-left = 0
|
||||||
padding-right = 2
|
padding-right = 2
|
||||||
|
|
||||||
module-margin-left = 1
|
module-margin-left = 1
|
||||||
module-margin-right = 2
|
module-margin-right = 2
|
||||||
|
|
||||||
|
@ -70,7 +66,6 @@ tray-padding = 2
|
||||||
;scroll-up = i3wm-wsnext
|
;scroll-up = i3wm-wsnext
|
||||||
;scroll-down = i3wm-wsprev
|
;scroll-down = i3wm-wsprev
|
||||||
|
|
||||||
|
|
||||||
[module/xwindow]
|
[module/xwindow]
|
||||||
type = internal/xwindow
|
type = internal/xwindow
|
||||||
label = %title:0:30:...%
|
label = %title:0:30:...%
|
||||||
|
@ -356,4 +351,15 @@ menu-2-0-exec = sudo poweroff
|
||||||
menu-2-1 = cancel
|
menu-2-1 = cancel
|
||||||
menu-2-1-exec = menu-open-0
|
menu-2-1-exec = menu-open-0
|
||||||
|
|
||||||
|
[settings]
|
||||||
|
screenchange-reload = true
|
||||||
|
;compositing-background = xor
|
||||||
|
;compositing-background = screen
|
||||||
|
;compositing-foreground = source
|
||||||
|
;compositing-border = over
|
||||||
|
|
||||||
|
[global/wm]
|
||||||
|
margin-top = 5
|
||||||
|
margin-bottom = 5
|
||||||
|
|
||||||
; vim:ft=dosini
|
; vim:ft=dosini
|
||||||
|
|
Loading…
Reference in a new issue