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:
2026-08-01 22:37:00 -04:00
parent b550677af7
commit 7e6d30c3cd
71 changed files with 264 additions and 389 deletions
+11
View File
@@ -0,0 +1,11 @@
{
"output": "{{ .out }}",
"layer": "top",
"position": "left",
"width": 44,
"modules-left": ["clock", "pulseaudio"],
"modules-center": ["sway/workspaces"],
"modules-right": ["tray", "battery", "custom/power"],
{{ template "workspaces" (dict "out" .out "ws" .ws) }}
{{ template "waybar-modules" . }}
}
+14
View File
@@ -0,0 +1,14 @@
{
"output": "DP-2",
"layer": "top",
"position": "top",
"height": 44,
"modules-right": ["clock"],
"modules-center": ["sway/workspaces"],
{{ template "workspaces" (dict "out" "DP-2" "ws" (list "5" "6" "7" "8")) }}
"clock": {
"timezone": "America/Montreal",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format": "🕐 {:%H:%M 📅 %d/%m/%y}"
}
}
+44
View File
@@ -0,0 +1,44 @@
"tray": {
"icon-size": 21,
"spacing": 10
},
"clock": {
"timezone": "America/Montreal",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format": "🕐\n{:%H\n%M\n\n📅\n%d\n%m\n%y} "
},
"backlight": {
"device": "intel_backlight",
"format": "{icon}",
"format-icons": ["", "", "", "", "", "", "", "", ""]
},
"battery": {
"states": {
"warning": 30,
"critical": 15
},
"format": "🔋\n{capacity}",
"format-charging": "⚡\n{capacity}",
"format-plugged": "🔌\n{capacity}",
"format-alt": "{icon}",
"format-icons": ["", "", "", "", "", "", "", "", "", "", "", ""]
},
"custom/power": {
"format" : "⏻",
"tooltip": false,
"menu": "on-click",
"menu-file": "~/.config/waybar/power_menu.xml",
"menu-actions": {
"logout": "loginctl terminate-user \"\"",
"shutdown": "systemctl poweroff",
"reboot": "systemctl reboot"
}
},
"pulseaudio": {
"format": "{icon}\n{volume}",
"format-muted": "",
"format-icons": {
"default": ["", "", " "]
},
"on-click": "pwvucontrol"
},
+14
View File
@@ -0,0 +1,14 @@
"sway/workspaces": {
"persistent-workspaces": {
{{- range $ws := .ws }}
"{{ $ws }}": ["{{ $.out }}"],
{{- end }}
},
"disable-scroll": true,
"sort-by-name": true,
"format": "{icon}",
"format-icons": {
"default": "<span color=\"#cdd6f4\">●</span>",
"focused": "<span color=\"#fab387\">●</span>",
},
},