about summary refs log tree commit diff stats
path: root/pkgs/by-name/mp/mpc/mpc.sh
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-10 14:47:00 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-10 14:47:00 +0200
commit94370b149fa505c9aeb2c37996419fd7f91588d1 (patch)
treee8067c643797c2db346e38fd4653f91a3698420b /pkgs/by-name/mp/mpc/mpc.sh
parentfix(pkgs/lyrics): Make the music dir configurable (diff)
downloadnixos-config-94370b149fa505c9aeb2c37996419fd7f91588d1.tar.gz
nixos-config-94370b149fa505c9aeb2c37996419fd7f91588d1.zip
fix(pkgs/mpc): Update the new music handling system
Diffstat (limited to '')
-rwxr-xr-xpkgs/by-name/mp/mpc/mpc.sh12
1 files changed, 8 insertions, 4 deletions
diff --git a/pkgs/by-name/mp/mpc/mpc.sh b/pkgs/by-name/mp/mpc/mpc.sh
index 5aae5cdb..f613cf0a 100755
--- a/pkgs/by-name/mp/mpc/mpc.sh
+++ b/pkgs/by-name/mp/mpc/mpc.sh
@@ -4,13 +4,17 @@
 SHELL_LIBRARY_VERSION="2.1.2" . %SHELL_LIBRARY_PATH
 
 case "$1" in
-"rm")
+"searchadd")
     shift 1
-    mpc-rm "$@"
+    mpc-searchadd "$@"
+    ;;
+"lyrics")
+    shift 1
+    mpc-lyrics "$@"
     ;;
-"fav")
+"rm")
     shift 1
-    mpc-fav "$@"
+    mpc-rm "$@"
     ;;
 *)
     mpc "$@"