Terminal notifications for pianobar
Using pianobar's eventcmd
interface, this script uses terminal-notifier to pop up notifications for Now Playing!
- Download the script or clone the repo
git clone https://github.com/avidit/pianobar-notifier.git
- Copy the script to pianobar config folder
~/.config/pianobar/
cp pianobar-notifier.rb ~/.config/pianobar/
- Add the following line to pianobar config file
~/.config/pianobar/config
event_command = ~/.config/pianobar/pianobar-notifier.rb
If you don't have above directory or file, go ahead and create it. For more information take a look at example config file