diff options
Diffstat (limited to 'song-status')
| -rwxr-xr-x | song-status | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/song-status b/song-status index 6550d0d..be7bd55 100755 --- a/song-status +++ b/song-status @@ -2,16 +2,15 @@ player_name=$(playerctl metadata --format '{{playerName}}') player_status=$(playerctl status) -if [[ "$player_status" == "Playing" ]]; then +# if [[ "$player_status" == "Playing" ]]; then if [[ "$player_name" == "spotify" ]]; then - song_info=$(playerctl metadata --format '{{title}} {{artist}}') + playerctl metadata --format '{{title}} {{artist}}' elif [[ "$player_name" == "firefox" ]]; then - song_info=$(playerctl metadata --format '{{title}} {{artist}}') + playerctl metadata --format '{{title}} {{artist}}' elif [[ "$player_name" == "mpd" ]]; then - song_info=$(playerctl metadata --format '{{title}} {{artist}}') + playerctl metadata --format '{{title}} {{artist}}' elif [[ "$player_name" == "chromium" ]]; then - song_info=$(playerctl metadata --format '{{title}} {{artist}}') + playerctl metadata --format '{{title}} {{artist}}' fi -fi +# fi -echo "$song_info" |
