mirror of
https://codeberg.org/andyscott/dotfiles.git
synced 2024-12-22 09:53:10 -05:00
151 lines
3.6 KiB
Cheetah
151 lines
3.6 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 = DP-0
|
|
height = 32
|
|
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 = 100%
|
|
offset-x = 0%
|
|
offset-y = 0%
|
|
{{- if eq .chezmoi.hostname "helix" }}
|
|
dpi-x = 216
|
|
dpi-y = 216
|
|
{{- end }}
|
|
background = ${color.background}
|
|
foreground = ${color.foreground}
|
|
radius-top = 0.0
|
|
radius-bottom = 0.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 = spotify
|
|
{{- if eq .chezmoi.hostname "helix"}}
|
|
modules-right = keyboard sep pulseaudio-control sep battery0 sep date sep powermenu
|
|
{{- 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 = DVI-I-1
|
|
{{- else }}
|
|
monitor = eDP-1
|
|
{{- end}}
|
|
monitor-fallback =
|
|
monitor-strict = false
|
|
enable-ipc = true
|
|
override-redirect = true
|
|
bottom = true
|
|
fixed-center = true
|
|
width = 100%
|
|
height = 32
|
|
offset-x = 0%
|
|
offset-y = 0%
|
|
background = ${color.background}
|
|
foreground = ${color.foreground}
|
|
radius-top = 0.0
|
|
radius-bottom = 0.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
|