Skip to content

Instantly share code, notes, and snippets.

@cirrusUK
Created September 22, 2013 19:18
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cirrusUK/6662897 to your computer and use it in GitHub Desktop.
Save cirrusUK/6662897 to your computer and use it in GitHub Desktop.
simple bash script using notify-send and calls mpc to display current track playing in mpc/mpd/
#!/bin/bash
OSD=$(mpc current)
notify-send -i ~/.icons/top.png "$OSD"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment