From 9207419322db99e4d565d1409028175e1403be14 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sun, 11 Aug 2024 13:43:40 +0200 Subject: fix(pkgs/mpc-rm): Rename to `mpc-beetrm` This avoids shadowing the original `mpc rm` command --- pkgs/by-name/mp/mpc-beetrm/mpc-beetrm.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 pkgs/by-name/mp/mpc-beetrm/mpc-beetrm.sh (limited to 'pkgs/by-name/mp/mpc-beetrm/mpc-beetrm.sh') diff --git a/pkgs/by-name/mp/mpc-beetrm/mpc-beetrm.sh b/pkgs/by-name/mp/mpc-beetrm/mpc-beetrm.sh new file mode 100755 index 00000000..3209503c --- /dev/null +++ b/pkgs/by-name/mp/mpc-beetrm/mpc-beetrm.sh @@ -0,0 +1,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 -- cgit 1.4.1