dotfiles/dot_config/polybar/config.ini.tmpl

156 lines
3.5 KiB
Cheetah

[global/wm]
include-file = ~/.config/polybar/colors.ini
include-file = ~/.config/polybar/modules.ini
include-file = ~/.config/polybar/custom_modules.ini
margin-bottom = 0
margin-top = 0
[bar/one]
{{- if eq .chezmoi.hostname "hydrus"}}
monitor = DisplayPort-0
height = 24
bottom = true
{{- else }}
monitor = eDP-1
height = 72
bottom = false
{{- end}}
monitor-fallback =
monitor-strict = false
enable-ipc = true
override-redirect = true
fixed-center = true
width = 99.5%
offset-x = 0.25%
offset-y = 0.25%
{{- if eq .chezmoi.hostname "helix" }}
dpi-x = 216
dpi-y = 216
{{- end }}
background = ${color.background}
foreground = ${color.foreground}
radius = 5.0
line-size = 0
line-color = ${color.background}
border-bottom-size = 0
border-bottom-color = ${color.foreground}
padding = 1
module-margin-left = 1
module-margin-right = 0
seperator =
dim-value = 1.0
locale = en_US.UTF-8
font-0 = Hack:size=10;3
font-1 = Font Awesome 6 Free:style=Solid:size=12;3
font-2 = Font Awesome 6 Free:style=Regular:size=12;3
font-3 = Font Awesome 6 Brands:style=Regular:size=12;3
modules-left = workspaces sep title
modules-center =
{{- if eq .chezmoi.hostname "helix"}}
modules-right = keyboard sep pulseaudio-control sep date sep
{{- else }}
modules-right = keyboard sep pulseaudio-control sep date sep powermenu
{{- end}}
tray-position = right
tray-detached = false
{{- if eq .chezmoi.hostname "helix" }}
tray-maxsize = 40
{{- else }}
tray-maxsize = 16
{{- end }}
tray-background = ${color.background}
tray-offset-x = 0
tray-offset-y = 0
tray-padding = 0
tray-scale = 1.0
wm-name = bspwm
wm-restack = bspwm
scroll-up = bspwm-desknext
scroll-down = bspwm-deskprev
click-left =
click-middle =
click-right =
;scroll-up = bspc desktop -f prev.local
;scroll-down = bspc desktop -f next.local
double-click-left =
double-click-middle =
double-click-right =
cursor-click =
cursor-scroll =
[bar/two]
{{- if eq .chezmoi.hostname "hydrus"}}
monitor = DisplayPort-1
height = 24
{{- else }}
monitor = eDP-1
height = 72
{{- end}}
bottom = true
monitor-fallback =
monitor-strict = false
enable-ipc = true
override-redirect = true
fixed-center = true
width = 99.5%
offset-x = 0.25%
offset-y = 0.25%
{{- if eq .chezmoi.hostname "helix" }}
dpi-x = 216
dpi-y = 216
{{- end }}
background = ${color.background}
foreground = ${color.foreground}
radius = 5.0
line-size = 0
line-color = ${color.background}
border-bottom-size = 0
border-bottom-color = ${color.foreground}
padding = 1
module-margin-left = 1
module-margin-right = 1
seperator =
dim-value = 1.0
locale = en_US.UTF-8
font-0 = Hack:size=10;3
font-1 = Font Awesome 6 Free:style=Solid:size=12;3
font-2 = Font Awesome 6 Free:style=Regular:size=12;3
font-3 = Font Awesome 6 Brands:style=Regular:size=12;3
modules-left = workspaces sep title
modules-center = spotify
modules-right = cpu sep memory sep filesystem
tray-position = none
tray-detached = false
tray-maxsize = 16
tray-background = ${color.background}
tray-offset-x = 0
tray-offset-y = 0
tray-padding = 0
tray-scale = 1.0
wm-name = bspwm
wm-restack = bspwm
scroll-up = bspwm-desknext
scroll-down = bspwm-deskprev
click-left =
click-middle =
click-right =
;scroll-up = bspc desktop -f prev.local
;scroll-down = bspc desktop -f next.local
double-click-left =
double-click-middle =
double-click-right =
cursor-click =
cursor-scroll =
[settings]
screenchange-reload = false
pseudo-transparency = false