aboutsummaryrefslogtreecommitdiff
path: root/scripts/media_status.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/media_status.sh')
-rwxr-xr-xscripts/media_status.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/media_status.sh b/scripts/media_status.sh
index a7218ee..a2a7530 100755
--- a/scripts/media_status.sh
+++ b/scripts/media_status.sh
@@ -1,6 +1,6 @@
#!/bin/bash
mpd_playing=$(mpc 2>/dev/null | grep "\[playing\]")
-spotify_playing=$($HOME/.dotfiles/scripts/media_is_spotify_playing.sh)
+spotify_playing=$($DOTFILES_LOCATION/scripts/media_is_spotify_playing.sh)
if [[ $spotify_playing == "true" ]]
then
@@ -14,7 +14,7 @@ then
then
echo "Spotify: ad :/"
else
- echo Spotify: "▶" $($HOME/.dotfiles/scripts/media_print_spotify_info.sh)
+ echo Spotify: "▶" $($DOTFILES_LOCATION/scripts/media_print_spotify_info.sh)
fi
fi
elif [[ $mpd_playing != "" ]]
@@ -27,7 +27,7 @@ then
fi
elif pgrep spotify &>/dev/null
then
- echo Spotify: "▐▐" $($HOME/.dotfiles/scripts/media_print_spotify_info.sh)
+ echo Spotify: "▐▐" $($DOTFILES_LOCATION/scripts/media_print_spotify_info.sh)
elif pgrep mpd &>/dev/null
then
if type mpc &>/dev/null