diff --git a/.chezmoiignore b/.chezmoiignore index 2df89e3..cec82a0 100644 --- a/.chezmoiignore +++ b/.chezmoiignore @@ -13,6 +13,7 @@ dconf.ini .local/share/konsole dconf.ini .gvimrc +.chezmoiscripts/run_onchange_linux-dconf-load.sh.tmpl {{/* ---- 有視窗應用程式 -------------------------------------------------- */ -}} {{ else }} @@ -24,6 +25,7 @@ dconf.ini {{ end }} {{ if ne .chezmoi.os "linux" }} .chezmoiscripts/run_onchange_before_linux-install-packages.sh.tmpl +.chezmoiscripts/run_onchange_linux-dconf-load.sh.tmpl .local/share/konsole .config/konsolerc {{ end }} diff --git a/.chezmoiscripts/run_onchange_after_install.sh.tmpl b/.chezmoiscripts/run_onchange_after_install.sh.tmpl index df90f33..2b2c9d9 100644 --- a/.chezmoiscripts/run_onchange_after_install.sh.tmpl +++ b/.chezmoiscripts/run_onchange_after_install.sh.tmpl @@ -4,6 +4,7 @@ zsh -i -c 'zinit update' vim +PlugInstall +qall nvim --headless "+Lazy! update" +qa +{{ if not .noGUI }} {{ if and (eq .chezmoi.os "linux") (stat (print .chezmoi.homeDir "/.winscp")) }} {{ if or (eq .chezmoi.osRelease.id "manjaro") (eq .chezmoi.osRelease.id "arch") }} mkdir -p ~/.winscp @@ -20,3 +21,4 @@ ln -s ~/.config/filezilla/sitemanager.xml ~/.winscp/drive_c/users/{{ .chezmoi.us {{ end }} {{ end }} {{ end }} +{{ end }}