Rearranging output as per peer feedback

This commit is contained in:
Ryan Brushett 2016-12-29 18:10:05 -03:30
commit 32c8fb3656
No known key found for this signature in database
GPG key ID: 033C82F944B6317F

View file

@ -413,10 +413,10 @@ function spotify() {
break ;; break ;;
"quit" ) "quit" )
cecho "Quitting Spotify.";
if [ "$(osascript -e 'application "Spotify" is running')" = "false" ]; then if [ "$(osascript -e 'application "Spotify" is running')" = "false" ]; then
cecho "Spotify was not running." cecho "Spotify was not running."
else else
cecho "Quitting Spotify.";
osascript -e 'tell application "Spotify" to quit'; osascript -e 'tell application "Spotify" to quit';
fi fi
break ;; break ;;