Tipp: Now Playing with MPD
a convenient way to get "now playing" information from MPD can be achieved by this little script:Dependencies
- xclip
- mpc (the official mpd commandline client)
- notify-send (from libnotify-bin)
The Script copies the current "artist - track" to the clipboard and displays it as passive popup:#!/bin/sh mpc|head -n1|xclip notify-send -t 2500 "now playing" "`xclip -o`"
| Kategorien | Software |
|---|---|
| Tagged | Tipps english now playing music MPD mpc notifiy-send Script |
0 Kommentare