From 0c3edf47d013cdc932f5e160f3a3b69ca05bfc39 Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Sat, 10 Dec 2022 10:26:56 -0500 Subject: [PATCH] soundboard: no-resume-playback for mpv --- src/.config/sxhkd/sxhkdrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/.config/sxhkd/sxhkdrc b/src/.config/sxhkd/sxhkdrc index 45fdbf0..3cb716e 100644 --- a/src/.config/sxhkd/sxhkdrc +++ b/src/.config/sxhkd/sxhkdrc @@ -40,7 +40,7 @@ KP_{Insert,End,Down,Next,Left,Begin,Right,Home,Up,Prior} snd_id="{0-9}";\ id=$(cat /dev/random | base32 | head -c 5);\ socket="$SB_DIR/cur/sb-socket$snd_id-$id";\ - mpv --input-ipc-server=$socket $SB_DIR/cur/$snd_id*;\ + mpv --no-resume-playback --input-ipc-server=$socket $SB_DIR/cur/$snd_id*;\ rm -f "$socket" # stop specific sound