]> git.rmz.io Git - dotfiles.git/blob - bin/launch-bundle
nvim: add FPP copyright snippet
[dotfiles.git] / bin / launch-bundle
1 #!/bin/bash
2
3 for TARGET in $HOME/.cinstall/launchers/${0##*/}-[0-9]*
4 do
5 USE_TARGET=$TARGET
6 done
7 if [[ -x "$USE_TARGET" ]]; then
8 $USE_TARGET "${@}"
9 arch=$(uname -m)
10 ln -sf $HOME/.cinstall/icons/${USE_TARGET##*/}-${arch}.png $HOME/.cinstall/icons/${0##*/}.png
11 else
12 echo "Could not find ${0##*/} bundle"
13 fi