|
|
|
include-file = $HOME/.config/polybar/xresources
|
|
|
|
include-file = $HOME/.config/polybar/modules
|
|
|
|
|
|
|
|
; https://github.com/polybar/polybar/wiki/Configuration#global-wm-settings
|
|
|
|
[global/wm]
|
|
|
|
margin-top = 0
|
|
|
|
margin-bottom = 0
|
|
|
|
|
|
|
|
; https://github.com/polybar/polybar/wiki/Configuration#application-settings
|
|
|
|
[settings]
|
|
|
|
throttle-output = 5
|
|
|
|
throttle-output-for = 10
|
|
|
|
|
|
|
|
screenchange-reload = true
|
|
|
|
|
|
|
|
; format-foreground = #00ff00
|
|
|
|
; format-background = #ff00ff
|
|
|
|
|
|
|
|
pseudo-transparency = false
|
|
|
|
|
|
|
|
; https://github.com/polybar/polybar/wiki/Configuration#bar-settings
|
|
|
|
[bar/polybar]
|
|
|
|
monitor = ${env:MONITOR:eDP-1}
|
|
|
|
|
|
|
|
width = 100%
|
|
|
|
height = ${env:PANEL_HEIGHT:38}
|
|
|
|
; offset-x = 1%
|
|
|
|
; offset-y = 1%
|
|
|
|
radius = 0.0
|
|
|
|
fixed-center = true
|
|
|
|
|
|
|
|
background = ${wmcolors.bgcolor-inactive}
|
|
|
|
foreground = ${wmcolors.fgcolor-inactive}
|
|
|
|
|
|
|
|
line-size = 3
|
|
|
|
line-color = #ff00ff
|
|
|
|
|
|
|
|
border-size = 0
|
|
|
|
border-color = #00000000
|
|
|
|
|
|
|
|
padding-left = 0
|
|
|
|
padding-right = 2
|
|
|
|
|
|
|
|
module-margin-left = 1
|
|
|
|
module-margin-right = 2
|
|
|
|
|
|
|
|
dpi-x = ${font.dpi}
|
|
|
|
dpi-y = ${font.dpi}
|
|
|
|
|
|
|
|
; https://github.com/polybar/polybar/wiki/Fonts
|
|
|
|
font-0 = "DejaVu Sans:pixelsize=9;3"
|
|
|
|
font-1 = "Source Han Sans JP Medium:pixelsize=9;3"
|
|
|
|
font-2 = "Font Awesome 6 Free:style=Regular:pixelsize=8;3"
|
|
|
|
font-3 = "Font Awesome 6 Free:style=Solid:pixelsize=8;3"
|
|
|
|
font-4 = "Font Awesome 6 Brands:pixelsize=8;3"
|
|
|
|
|
|
|
|
modules-left = bspwm
|
|
|
|
modules-center = title
|
|
|
|
modules-right = btc pulseaudio backlight-acpi wlan eth battery battery-low date powermenu
|
|
|
|
|
|
|
|
tray-maxsize = 30
|
|
|
|
tray-position = right
|
|
|
|
tray-padding = 2
|
|
|
|
tray-detached = false
|
|
|
|
;tray-background = #0063ff
|
|
|
|
|
|
|
|
wm-restack = bspwm
|
|
|
|
; wm-name = ${env:PANEL_NAME:polybar_panel}
|
|
|
|
|
|
|
|
scroll-up = #bspwm.prev
|
|
|
|
scroll-down = #bspwm.next
|
|
|
|
|
|
|
|
cursor-click = pointer
|
|
|
|
; cursor-scroll = ns-resize
|