diff options
Diffstat (limited to 'moc/.local/bin/mocpnotify')
| -rwxr-xr-x | moc/.local/bin/mocpnotify | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/moc/.local/bin/mocpnotify b/moc/.local/bin/mocpnotify new file mode 100755 index 0000000..f3aa72c --- /dev/null +++ b/moc/.local/bin/mocpnotify @@ -0,0 +1,11 @@ +#!/bin/sh + +case $1 in + "next") + notify-send -a mocp -t 3000 "now playing" "$2 - $3 [$4]" + ;; + "stop") + notify-send -a mocp -t 3000 "mocp" "stopped playing" + ;; +esac + |
