From 3c61391f3fecb433307bba183985483a5ca552e6 Mon Sep 17 00:00:00 2001 From: rain Date: Sat, 22 Aug 2026 20:33:41 -0400 Subject: [PATCH] Gate sway stack configs on sway_setup via .chezmoiignore.tmpl Only the install script respected the flag; dot_sway/wofi/foot/mako/ waybar deployed unconditionally. Now ignored when sway_setup=false. --- .chezmoiignore | 9 --------- .chezmoiignore.tmpl | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 9 deletions(-) delete mode 100644 .chezmoiignore create mode 100644 .chezmoiignore.tmpl diff --git a/.chezmoiignore b/.chezmoiignore deleted file mode 100644 index c94494e..0000000 --- a/.chezmoiignore +++ /dev/null @@ -1,9 +0,0 @@ -# chezmoi-managed: do not edit by hand, run `chezmoi edit` instead -.git -README.md -*.bak -*.swp -.DS_Store - -# nvim plugin lockfile is regenerated by lazy.nvim per-machine -.config/nvim/lazy-lock.json \ No newline at end of file diff --git a/.chezmoiignore.tmpl b/.chezmoiignore.tmpl new file mode 100644 index 0000000..7612c22 --- /dev/null +++ b/.chezmoiignore.tmpl @@ -0,0 +1,19 @@ +# chezmoi-managed: do not edit by hand, run `chezmoi edit` instead +.git +README.md +*.bak +*.swp +.DS_Store + +# nvim plugin lockfile is regenerated by lazy.nvim per-machine +.config/nvim/lazy-lock.json +# Wayland/sway desktop stack — only deploy when sway_setup is enabled +{{ if not .sway_setup }} +.config/sway +.config/waybar +.config/wofi +.config/foot +.config/mako +40-install-sway.sh +40-install-sway-gentoo.sh +{{ end }}