polybar/config

93 lines
1.7 KiB
Plaintext
Raw Normal View History

2020-04-07 20:12:04 +00:00
[colors]
2020-04-23 20:41:55 +00:00
background = #272727
foreground = #606060
primary = #ffffff
secondary = #373737
2020-04-07 20:12:04 +00:00
alert = #a60000
[bar/base]
enable-ipc = true
width = 100%:-2
2020-04-07 20:12:04 +00:00
height = 40
offset-x = 1
offset-y = 1
2020-04-07 20:12:04 +00:00
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
2020-04-07 22:07:52 +00:00
; wm-restack = bspwm
2020-04-07 20:12:04 +00:00
override-redirect = true
[bar/HDMI-0]
inherit = bar/base
monitor = ${env:MONITOR:HDMI-0}
[bar/DVI-0]
inherit = bar/base
monitor = ${env:MONITOR:DVI-0}
[bar/eDP-1-1]
inherit = bar/base
monitor = ${env:MONITOR:eDP-1-1}
[bar/VGA-1-1]
inherit = bar/base
monitor = ${env:MONITOR:VGA-1-1}
[bar/HDMI-1-1]
inherit = bar/base
monitor = ${env:MONITOR:HDMI-1-1}
[module/xwindow]
type = internal/xwindow
2020-04-07 20:27:55 +00:00
label-foreground = ${colors.primary}
2020-04-07 20:12:04 +00:00
label = %title:0:90:...%
[module/bspwm]
type = internal/bspwm
2020-04-07 22:35:31 +00:00
pin-workspaces = true
2020-04-07 20:12:04 +00:00
label-focused = %name%
2020-04-07 20:27:55 +00:00
label-focused-foreground = ${colors.primary}
2020-04-07 20:12:04 +00:00
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%
2020-04-07 20:27:55 +00:00
label-empty-foreground = ${colors.secondary}
2020-04-07 20:12:04 +00:00
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