Migrate to chezmoi with per-host sway/waybar configs
- Restructure repo into chezmoi source layout (dot_ prefix) - Add .chezmoi.toml.tmpl mapping hostname to hosttype (laptop/desktop) - Template sway config.d fragments (outputs/inputs/binds) per host - Template waybar config.jsonc with shared bar/module definitions - Host-scope pulsemeeter (flow) and teams-for-linux (desktop hosts) via .chezmoiignore - Trim install.sh package lists to configured software + config deps - Remove stale kitty.conf.bak and untracked host fragments
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
{{- if eq .chezmoi.hostname "framework13pro" -}}
|
||||
[{{ template "bar-primary" (dict "out" "eDP-1" "ws" (list "1" "2" "3" "4")) }},
|
||||
{{ template "bar-secondary" . }}]
|
||||
{{- else if eq .chezmoi.hostname "flow" -}}
|
||||
[{{ template "bar-primary" (dict "out" "DP-1" "ws" (list "1" "2" "3" "4")) }},
|
||||
{{ template "bar-secondary" . }}]
|
||||
{{- else if eq .chezmoi.hostname "gata" -}}
|
||||
// TODO: fill in gata's outputs (run: swaymsg -t get_outputs)
|
||||
[{{ template "bar-primary" (dict "out" "DP-1" "ws" (list "1" "2" "3" "4")) }},
|
||||
{{ template "bar-secondary" . }}]
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user