Browse Source

polybar: update configuration for zenbook

Maxim Likhachev 5 years ago
parent
commit
16e38bcf21
  1. 46
      etc/soft/polybar/config

46
etc/soft/polybar/config

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

Loading…
Cancel
Save