From c0659d7fc7690087e5412ba26488aa3a157df476 Mon Sep 17 00:00:00 2001 From: Soispha Date: Fri, 23 Feb 2024 21:08:17 +0100 Subject: feat(hm/pkgs/mpc): Init --- hm/soispha/pkgs/scripts/wrappers/mpc.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 hm/soispha/pkgs/scripts/wrappers/mpc.sh (limited to 'hm/soispha/pkgs/scripts/wrappers') diff --git a/hm/soispha/pkgs/scripts/wrappers/mpc.sh b/hm/soispha/pkgs/scripts/wrappers/mpc.sh new file mode 100755 index 00000000..b870150b --- /dev/null +++ b/hm/soispha/pkgs/scripts/wrappers/mpc.sh @@ -0,0 +1,20 @@ +#!/usr/bin/env dash + +# shellcheck source=/dev/null +SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH + +case "$1" in +"rm") + shift 1 + mpc-rm "$@" + ;; +"fav") + shift 1 + mpc-fav "$@" + ;; +*) + mpc "$@" + ;; +esac + +# vim: ft=sh -- cgit 1.4.1