aboutsummaryrefslogblamecommitdiff
path: root/.local/bin/mpd_show.sh
blob: 8d14a1d81a75efbf486082eeee528d2bcad96d81 (plain) (tree)
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"