diff --git a/home/.chezmoiremove b/home/.chezmoiremove index cda88955..53453e74 100644 --- a/home/.chezmoiremove +++ b/home/.chezmoiremove @@ -22,6 +22,7 @@ Brewfile .m2 .npmrc .parallels/ +.pearrc .pip .pnpm-state/ .profile diff --git a/home/.chezmoiscripts/universal/run_onchange_after_70-misc-bug-fixes.tmpl b/home/.chezmoiscripts/universal/run_onchange_after_70-misc-bug-fixes.tmpl index 31b106e8..9a5eef30 100644 --- a/home/.chezmoiscripts/universal/run_onchange_after_70-misc-bug-fixes.tmpl +++ b/home/.chezmoiscripts/universal/run_onchange_after_70-misc-bug-fixes.tmpl @@ -30,11 +30,11 @@ else fi ### Move ~/.gnome/apps/* to ~/.local/share/applications -if [ -d "$HOME/gnome/apps" ]; then +if [ -d "$HOME/.gnome/apps" ]; then if [ ! -d "${XDG_DATA_HOME:-$HOME/.local/share}/applications" ]; then mkdir -p "${XDG_DATA_HOME:-$HOME/.local/share}/applications" fi - find "$HOME/gnome/apps" -mindepth 1 -maxdepth 1 -type f | while read DESKTOP_FILE; do + find "$HOME/.gnome/apps" -mindepth 1 -maxdepth 1 -type f | while read DESKTOP_FILE; do logg info "Moving $DESKTOP_FILE to ${XDG_DATA_HOME:-$HOME/.local/share}/applications/$(basename "$DESKTOP_FILE")" mv "$DESKTOP_FILE" "${XDG_DATA_HOME:-$HOME/.local/share}/applications/$(basename "$DESKTOP_FILE")" done