dotfiles/dot_config/polybar/config.ini.tmpl

157 lines
3.5 KiB
Cheetah
Raw Normal View History

2022-12-22 04:07:12 -05:00
[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]
2023-01-10 16:25:06 -05:00
{{- if eq .chezmoi.hostname "hydrus"}}
2023-03-14 01:16:48 -04:00
monitor = DisplayPort-0
2023-01-10 16:25:06 -05:00
height = 32
bottom = true
{{- else }}
2022-12-22 04:07:12 -05:00
monitor = eDP-1
2023-01-10 16:25:06 -05:00
height = 72
bottom = false
{{- end}}
2022-12-22 04:07:12 -05:00
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%
2023-01-10 16:25:06 -05:00
{{- if eq .chezmoi.hostname "helix" }}
2022-12-22 04:07:12 -05:00
dpi-x = 216
dpi-y = 216
2023-01-10 16:25:06 -05:00
{{- end }}
2022-12-22 04:07:12 -05:00
background = ${color.background}
foreground = ${color.foreground}
2023-03-23 20:03:43 -04:00
radius = 10.0
2022-12-22 04:07:12 -05:00
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
2023-03-23 20:03:43 -04:00
modules-center =
2023-01-10 16:25:06 -05:00
{{- if eq .chezmoi.hostname "helix"}}
2022-12-22 04:07:12 -05:00
modules-right = keyboard sep pulseaudio-control sep battery0 sep date sep powermenu
2023-01-10 16:25:06 -05:00
{{- else }}
modules-right = keyboard sep pulseaudio-control sep date sep powermenu
{{- end}}
2022-12-22 04:07:12 -05:00
tray-position = right
tray-detached = false
2023-01-10 16:25:06 -05:00
{{- if eq .chezmoi.hostname "helix" }}
2022-12-22 04:07:12 -05:00
tray-maxsize = 40
2023-01-10 16:25:06 -05:00
{{- else }}
tray-maxsize = 16
{{- end }}
2022-12-22 04:07:12 -05:00
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]
2023-01-10 16:25:06 -05:00
{{- if eq .chezmoi.hostname "hydrus"}}
2023-03-23 20:03:43 -04:00
monitor = DisplayPort-0
height = 32
2023-01-10 16:25:06 -05:00
{{- else }}
2022-12-22 04:07:12 -05:00
monitor = eDP-1
2023-03-23 20:03:43 -04:00
height = 72
2023-01-10 16:25:06 -05:00
{{- end}}
2023-03-23 20:03:43 -04:00
bottom = true
2022-12-22 04:07:12 -05:00
monitor-fallback =
monitor-strict = false
enable-ipc = true
override-redirect = true
fixed-center = true
2023-03-23 20:03:43 -04:00
width = 99%
offset-x = 0.5%
offset-y = 0.5%
{{- if eq .chezmoi.hostname "helix" }}
dpi-x = 216
dpi-y = 216
{{- end }}
2022-12-22 04:07:12 -05:00
background = ${color.background}
foreground = ${color.foreground}
2023-03-23 20:03:43 -04:00
radius = 10.0
2022-12-22 04:07:12 -05:00
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
2023-01-10 16:25:06 -05:00
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
2022-12-22 04:07:12 -05:00
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
2023-03-23 20:03:43 -04:00
pseudo-transparency = false