about summary refs log tree commit diff stats
path: root/pkgs/by-name/mp/mpc-beetrm/mpc-beetrm.sh
blob: 3209503c9601c98b9cfe018c88c989f925c56131 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env dash

# shellcheck source=/dev/null
SHELL_LIBRARY_VERSION="2.1.2" . %SHELL_LIBRARY_PATH

beet remove --delete \
    title:"$(mpc --format '%title%' current)" \
    album:"$(mpc --format '%album%' current)"
mpc del 0

# vim: ft=sh