aboutsummaryrefslogtreecommitdiff
path: root/stuff/scripts/mpd_show
blob: 8d14a1d81a75efbf486082eeee528d2bcad96d81 (plain) (blame)
1
2
3
4
5
6
#!/bin/sh

raw="$(mpc)"
song=$(echo "$raw" | sed -n '1p')
time=$(echo "$raw" | sed -n '2p')
notify-send "$song" "$time"