From 86ab5e8a075593f898673e37f4276b35886893ad Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Thu, 12 Jan 2023 15:17:08 +0000 Subject: [PATCH] Update 2 files - /home/.chezmoiremove - /home/.chezmoiscripts/universal/run_onchange_after_70-misc-bug-fixes.tmpl --- home/.chezmoiremove | 1 + .../universal/run_onchange_after_70-misc-bug-fixes.tmpl | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) 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