X-Git-Url: https://disinclined.org/git/?a=blobdiff_plain;f=scripts%2Fnext;fp=scripts%2Fnext;h=4c7168bd1813846203302cecfc9af62a0faebc53;hb=2abe12bf0cc031e27307624049be2dd35ba620ac;hp=0000000000000000000000000000000000000000;hpb=080cee31584ef0ab4133fea80520422c11f68ae5;p=powermate.git diff --git a/scripts/next b/scripts/next new file mode 100755 index 0000000..4c7168b --- /dev/null +++ b/scripts/next @@ -0,0 +1,13 @@ +#!/bin/sh + +if [ -n "$(pgrep pianobar)" ] +then + notify-send -i /usr/share/icons/powermate/skip-forward.png "skipping " + pianobar-next +else + if [ -n "$(pgrep mpd)" ] + then + notify-send -i /usr/share/icons/powermate/skip-forward.png "skipping " + mpc next + fi +fi