Browse Source

polybar: update configuration for zenbook

Maxim Likhachev 5 years ago
parent
commit
1898a2e2b4
  1. 46
      etc/soft/polybar/config

46
etc/soft/polybar/config

@ -32,6 +32,16 @@ yellow = #FF8C00
magenta = #B217B2 magenta = #B217B2
cyan = #00B0B0 cyan = #00B0B0
[global/wm]
margin-bottom = 0
[settings]
screenchange-reload = true
;compositing-background = xor
;compositing-background = screen
;compositing-foreground = source
;compositing-border = over
[bar/main] [bar/main]
wm-name = Bar wm-name = Bar
@ -39,14 +49,13 @@ wm-restack = bspwm
monitor = ${env:MONITOR:eDP1} monitor = ${env:MONITOR:eDP1}
width = 100% width = 100%
height = 22 height = 21
fixed-center = false fixed-center = false
background = ${colors.background} background = ${colors.background}
foreground = ${colors.foreground} foreground = ${colors.foreground}
line-size = 2 line-size = 2
;line-color = #f00
border-size = 0 border-size = 0
border-color = ${colors.background} border-color = ${colors.background}
@ -57,18 +66,11 @@ padding-right = 1
module-margin-left = 1 module-margin-left = 1
module-margin-right = 1 module-margin-right = 1
;font-0 = fixed:pixelsize=10;1
;font-0 = DejaVuSansMono Nerd Font Mono:size=9
;font-1 = DejaVuSansMono Nerd Font Mono:size=9
;font-2 = DejaVuSansMono Nerd Font Mono:size=9
;font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
;font-2 = siji:pixelsize=10;1
font-0 = NotoMono Nerd Font:size=12 font-0 = NotoMono Nerd Font:size=12
font-1 = NotoMono Nerd Font:size=12 font-1 = NotoMono Nerd Font:size=12
font-2 = NotoMono Nerd Font:size=12 font-2 = NotoMono Nerd Font:size=12
modules-left = desktop modules-left = desktop mpd
modules-center = filesystem modules-center = filesystem
modules-right = bdays webcheck mail battery backlight alsa xkeyboard date modules-right = bdays webcheck mail battery backlight alsa xkeyboard date
@ -107,6 +109,16 @@ label-urgent-foreground = ${colors.alert}
type = custom/text type = custom/text
content = ] content = ]
[module/mpd]
type = internal/mpd
host = 127.0.0.1
port = 6600
interval = 3
format-online = <label-song>
[module/bdays] [module/bdays]
type = custom/script type = custom/script
exec = dates | grep '\*' exec = dates | grep '\*'
@ -145,8 +157,7 @@ type = internal/fs
mount-0 = / mount-0 = /
mount-1 = /home mount-1 = /home
mount-2 = /mnt/DATA mount-2 = /mnt/DATA
mount-3 = /mnt/WINDOWS ;mount-3 = /mnt/FLASH
mount-4 = /mnt/FLASH
interval = 25 interval = 25
@ -231,15 +242,4 @@ label = %percentage%%
;label-margin = 1 ;label-margin = 1
label-underline = ${colors.cyan} label-underline = ${colors.cyan}
[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…
Cancel
Save