Skip to content

Instantly share code, notes, and snippets.

@sungwoncho
Created July 19, 2019 07:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sungwoncho/1f7ce825d1b0272988276ae56b90ccbb to your computer and use it in GitHub Desktop.
Save sungwoncho/1f7ce825d1b0272988276ae56b90ccbb to your computer and use it in GitHub Desktop.
#!/bin/bash
# shows the lyrics for the currently playing song on Spotify
artist=$(spotifycli --artist)
song=$(spotifycli --song | cut -f1 -d"-" | cut -f1 -d"(")
echo "artist: $artist"
echo "song: $song"
glyrics "$song $artist"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment