about summary refs log tree commit diff stats
path: root/sys
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2024-03-01 21:37:58 +0100
committerSoispha <soispha@vhack.eu>2024-03-01 21:37:58 +0100
commitd320e63ffbff0ee295c00ccdc1198d87ca28611d (patch)
treed9889f44f5f3cca62219c64fefdf1790933563b8 /sys
parentfix(sys/svcs/nix): Finally remove the `nixPath` completely (diff)
downloadnixos-config-d320e63ffbff0ee295c00ccdc1198d87ca28611d.tar.gz
nixos-config-d320e63ffbff0ee295c00ccdc1198d87ca28611d.zip
fix(pkgs/scripts/mpc-fav): Update database after adding a new favorite
Diffstat (limited to '')
-rwxr-xr-xsys/nixpkgs/pkgs/scripts/source/wrappers/mpc-fav.sh2
1 files changed, 2 insertions, 0 deletions
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