polybar/config

81 lines
1.5 KiB
INI

[colors]
background = #272727
foreground = #606060
primary = #ffffff
secondary = #373737
alert = #a60000
[bar/base]
enable-ipc = true
width = 100%:-2
height = 40
offset-x = 1
offset-y = 1
fixed-center = false
background = ${colors.background}
foreground = ${colors.foreground}
line-size = 0
border-size = 0
padding-left = 2
padding-right = 2
module-margin-left = 1
module-margin-right = 2
font-0 = Source Serif Pro:weight=semibold:size=16;2
font-1 = fixed:pixelsize=10;1
font-2 = unifont:fontformat=truetype:size=8:antialias=false;0
modules-left = bspwm
modules-right = xwindow
; wm-restack = bspwm
override-redirect = true
[bar/HDMI-0]
inherit = bar/base
monitor = ${env:MONITOR:HDMI-0}
[bar/eDP-1-1]
inherit = bar/base
monitor = ${env:MONITOR:eDP-1-1}
[module/xwindow]
type = internal/xwindow
label-foreground = ${colors.primary}
label = %title:0:90:...%
[module/bspwm]
type = internal/bspwm
pin-workspaces = false
label-focused = %name%
label-focused-foreground = ${colors.primary}
label-focused-padding = 2
label-occupied = %name%
label-occupied-padding = 2
label-urgent = %name%
label-urgent-background = ${colors.alert}
label-urgent-padding = 2
label-empty = %name%
label-empty-foreground = ${colors.secondary}
label-empty-padding = 2
; Separator in between workspaces
; label-separator = |
[settings]
screenchange-reload = true
;compositing-background = xor
;compositing-background = screen
;compositing-foreground = source
;compositing-border = over
;pseudo-transparency = false
[global/wm]
margin-top = 5
margin-bottom = 5
; vim:ft=dosini