X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/7e2333268a36dc269e27534d34857b95eed2ac62..4322868924b51e28d1e5d0cd48043a09bee6b60e:/bin/launch-bundle?ds=sidebyside diff --git a/bin/launch-bundle b/bin/launch-bundle index 156365f..81b3b3b 100755 --- a/bin/launch-bundle +++ b/bin/launch-bundle @@ -4,4 +4,10 @@ for TARGET in $HOME/.cinstall/launchers/${0##*/}-[0-9]* do USE_TARGET=$TARGET done -[ -x "$USE_TARGET" ] && $USE_TARGET "${@}" || echo "Could not find ${0##*/} bundle" +if [[ -x "$USE_TARGET" ]]; then + $USE_TARGET "${@}" + arch=$(uname -m) + ln -sf $HOME/.cinstall/icons/${USE_TARGET##*/}-${arch}.png $HOME/.cinstall/icons/${0##*/}.png +else + echo "Could not find ${0##*/} bundle" +fi