aboutsummaryrefslogtreecommitdiff
path: root/.local/bin/mpd_show.sh
blob: 1d0629abafb7c26a2adbeb1afb46490e2483baa8 (plain) (blame)
1
2
3
4
5
6
#!/usr/bin/env bash

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