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,6 @@
|
||||
{{ if eq .hosttype "laptop" -}}
|
||||
bindsym XF86MonBrightnessDown exec brightnessctl -d intel_backlight s 5%-
|
||||
bindsym XF86MonBrightnessUp exec brightnessctl -d intel_backlight s +5%
|
||||
|
||||
bindsym --no-repeat $mod+Shift+r exec ~/.config/sway/scripts/toggle-refresh-rate.sh
|
||||
{{- end }}
|
||||
@@ -0,0 +1,10 @@
|
||||
{{ if eq .hosttype "laptop" -}}
|
||||
input "type:pointer" {
|
||||
accel_profile flat
|
||||
pointer_accel 0
|
||||
}
|
||||
|
||||
input "2362:4931:PIXA3854:00_093A:1343_Touchpad" {
|
||||
tap enabled
|
||||
}
|
||||
{{- end }}
|
||||
@@ -0,0 +1,11 @@
|
||||
{{ if eq .chezmoi.hostname "framework13pro" -}}
|
||||
output eDP-1 mode 2880x1920@120Hz
|
||||
{{- else if eq .chezmoi.hostname "flow" -}}
|
||||
# TODO: fill in flow's outputs (run: swaymsg -t get_outputs)
|
||||
# output DP-1 mode 2560x1440@144Hz position 0 0
|
||||
# output DP-2 mode 2560x1440@144Hz position 2560 0
|
||||
{{- else if eq .chezmoi.hostname "gata" -}}
|
||||
# TODO: fill in gata's outputs (run: swaymsg -t get_outputs)
|
||||
# output DP-1 mode 2560x1440@144Hz position 0 0
|
||||
# output DP-2 mode 1920x1080@60Hz position 2560 0
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user