diff --git a/dot_config/polybar/config.ini.tmpl b/dot_config/polybar/config.ini.tmpl index 297b5bb..ce0485e 100644 --- a/dot_config/polybar/config.ini.tmpl +++ b/dot_config/polybar/config.ini.tmpl @@ -23,7 +23,11 @@ margin-bottom = 0 [bar/top] enable-ipc = true bottom = false -monitor = ${env:MONITOR:DP-2} +{{- if eq .chezmoi.hostname "arch" }} +monitor = DP-2 +{{- else if eq .chezmoi.hostname "buzz" }} +monitor = eDP1 +{{- end }} width = 100% height = 16 offset-x = 0 @@ -54,9 +58,16 @@ font-3 = "Font Awesome 6 Free:style=Solid:pixelsize=8;2" font-4 = "Font Awesome 6 Brands:pixelsize=8;2" font-5 = "Symbols Nerd Font:pixelsize=12;2" +{{- if eq .chezmoi.hostname "arch" }} modules-left = i3 clicker xwindow modules-center = date modules-right = pueue filesystem temp cpu memory eth-down eth-up ipv6 caffeine cam tray +{{- else if eq .chezmoi.hostname "buzz" }} +modules-left = i3 xwindow +modules-center = date +modules-right = filesystem temp cpu memory tray +{{- end }} + ; tray-position = right ; tray-padding = 4 @@ -90,6 +101,7 @@ type = custom/script interval = 5 exec = /home/inkch/.config/polybar/scripts/vm-stat.py +{{ if eq .chezmoi.hostname "arch" }} [module/clicker] type = custom/script format =