fix: command-availability-check was also in background
This commit is contained in:
parent
629f1628ff
commit
66e8109507
1 changed files with 3 additions and 3 deletions
6
.profile
6
.profile
|
@ -12,15 +12,15 @@ then
|
||||||
gpgconf --launch gpg-agent
|
gpgconf --launch gpg-agent
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[ -x "$(command -v jack_control)" ] && $HOME/.local/bin/start_jack >/tmp/jack.log 2>&1 &
|
[ -x "$(command -v jack_control)" ] && ($HOME/.local/bin/start_jack >/tmp/jack.log 2>&1 &)
|
||||||
|
|
||||||
if [ -x "$(command -v mopidy)" ]
|
if [ -x "$(command -v mopidy)" ]
|
||||||
then
|
then
|
||||||
sh -c "sleep 12 && mopidy" & # mopidy needs internet (wait some secs) for spotify
|
sh -c "sleep 12 && mopidy" & # mopidy needs internet (wait some secs) for spotify
|
||||||
else
|
else
|
||||||
[ -x "$(command -v mpd)" ] && mpd &
|
[ -x "$(command -v mpd)" ] && (mpd &)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[ -x "$(command -v ympd)" ] && ympd --webport 54594 &
|
[ -x "$(command -v ympd)" ] && (ympd --webport 54594 &)
|
||||||
|
|
||||||
[ $SHELL = "/bin/bash" ] && source $HOME/.bashrc
|
[ $SHELL = "/bin/bash" ] && source $HOME/.bashrc
|
||||||
|
|
Loading…
Reference in a new issue