From b95b9a8cc654fab8c52ed185a7253a9143728401 Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Thu, 12 Jan 2023 11:32:00 +0000 Subject: [PATCH] Update 3 files - /home/.chezmoiscripts/universal/run_onchange_after_70-misc-bug-fixes.tmpl - /home/.chezmoiremove - /software.yml --- home/.chezmoiremove | 6 ++++++ .../run_onchange_after_70-misc-bug-fixes.tmpl | 13 +++++++++++++ software.yml | 4 ++-- 3 files changed, 21 insertions(+), 2 deletions(-) diff --git a/home/.chezmoiremove b/home/.chezmoiremove index 9566e1f6..81f7f810 100644 --- a/home/.chezmoiremove +++ b/home/.chezmoiremove @@ -1,3 +1,4 @@ +# https://github.com/deta/deta-cli/issues/100 .CFUserTextEncoding .DS_Store/ .ansible/ @@ -10,14 +11,17 @@ Brewfile .fzf.bash .fzf.zsh .dircolors +.gconf/ .gitconfig .gitignore .gradle .inputrc +.java/ .krew .lesshst .m2 .npmrc +.parallels/ .pip .pnpm-state/ .profile @@ -30,6 +34,8 @@ Brewfile .v8flags* .vagrant.d/ .viminfo +.volta/ +.vscode-oss/ .wgetrc .wget-hsts .zlogin 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 5763c4ed..194083c6 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 @@ -29,6 +29,19 @@ else logg warn '`rsync` is missing from the system!' fi +### Move ~/.gnome/apps/* to ~/.local/share/applications +if [ -d "$HOME/gnome/apps" ]; then + if [ ! -d "${XDG_DATA_DIR:-$HOME/.local/share}/applications" ]; then + mkdir -p "${XDG_DATA_DIR:-$HOME/.local/share}/applications" + fi + find "$HOME/gnome/apps" -mindepth 1 -maxdepth 1 -type f | while read DESKTOP_FILE; do + logg info "Moving $DESKTOP_FILE to ${XDG_DATA_DIR:-$HOME/.local/share}/applications/$(basename "$DESKTOP_FILE")" + mv "$DESKTOP_FILE" "${XDG_DATA_DIR:-$HOME/.local/share}/applications/$(basename "$DESKTOP_FILE")" + done + logg info 'Removing ~/.gnome/apps' + rm -rf "$HOME/.gnome/apps" +fi + ##### CANDY ICONS START ###### ### Additional icons diff --git a/software.yml b/software.yml index 6607cf69..59bd3a0c 100644 --- a/software.yml +++ b/software.yml @@ -6873,8 +6873,8 @@ softwarePackages: # brew: vectordotdev/brew/vector helm: https://helm.vector.dev pacman: vector - script:darwin: curl --proto '=https' --tlsv1.2 -sSf https://sh.vector.dev | bash - script:linux: curl --proto '=https' --tlsv1.2 -sSf https://sh.vector.dev | bash + script:darwin: curl --proto '=https' --tlsv1.2 -sSf https://sh.vector.dev | bash -s -- --prefix "${XDG_DATA_DIR:-$HOME/.local/share}/vector" --no-modify-path -y + script:linux: curl --proto '=https' --tlsv1.2 -sSf https://sh.vector.dev | bash -s -- --prefix "${XDG_DATA_DIR:-$HOME/.local/share}/vector" --no-modify-path -y velero: _bin: velero _desc: null