I've been making an effort for a while to hit like on songs I like, mainly so I can always fail over to a playlist of liked songs. I generally use GPMDP as my main player and Polybar as my taskbar. I control my media player using playerctl and a while back I wrote songliker
to set up a shortcut to like my songs. I decided to put it all together into a neat little polybar module and thought others might enjoy this.
I'm including the necessary files to do this yourself, although this might not work for you 'as-is' since I have a pretty customized systemd service management set up. Easiest way would be to just ignore the systemd stuff and just add an exec now_playing
, but I'm including it here in case you want to use it and just modify that.
This will display the currently playing song in your bar in the following format {artist} - {song} | {liked?}
. It uses Nerd Font symbols for a prefixing musical note and a thumbs up outline if not liked, or full if liked. It wi