From d320e63ffbff0ee295c00ccdc1198d87ca28611d Mon Sep 17 00:00:00 2001 From: Soispha Date: Fri, 1 Mar 2024 21:37:58 +0100 Subject: fix(pkgs/scripts/mpc-fav): Update database after adding a new favorite --- sys/nixpkgs/pkgs/scripts/source/wrappers/mpc-fav.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/nixpkgs/pkgs/scripts') diff --git a/sys/nixpkgs/pkgs/scripts/source/wrappers/mpc-fav.sh b/sys/nixpkgs/pkgs/scripts/source/wrappers/mpc-fav.sh index 22e62c0e..a3a2c368 100755 --- a/sys/nixpkgs/pkgs/scripts/source/wrappers/mpc-fav.sh +++ b/sys/nixpkgs/pkgs/scripts/source/wrappers/mpc-fav.sh @@ -11,4 +11,6 @@ cd "$XDG_MUSIC_DIR" || die "No music dir!" ln -sr "$(mpc --format '%file%' current)" "$FAV_DIR/" || die "Link failed!" +mpc update + # vim: ft=sh -- cgit 1.4.1