From 1839a6349add03ce1051c6313fcdd8739a62c840 Mon Sep 17 00:00:00 2001 From: KKV9 Date: Sun, 28 Jan 2024 00:59:05 +0000 Subject: Switch to pw-play change from paplay to pw-play --- config/hypr/scripts/ScreenShot.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'config/hypr/scripts/ScreenShot.sh') diff --git a/config/hypr/scripts/ScreenShot.sh b/config/hypr/scripts/ScreenShot.sh index 6b701ff2..1cec086d 100755 --- a/config/hypr/scripts/ScreenShot.sh +++ b/config/hypr/scripts/ScreenShot.sh @@ -19,7 +19,7 @@ notify_view() { if [[ "$1" == "active" ]]; then if [[ -e "${active_window_path}" ]]; then ${notify_cmd_shot} "Screenshot of '${active_window_class}' Saved." - paplay "${sDIR}/camera-shutter.oga" + pw-play "${sDIR}/camera-shutter.oga" else ${notify_cmd_shot} "Screenshot of '${active_window_class}' not Saved" fi @@ -29,7 +29,7 @@ notify_view() { local check_file="$dir/$file" if [[ -e "$check_file" ]]; then ${notify_cmd_shot} "Screenshot Saved." - paplay "${sDIR}/camera-shutter.oga" + pw-play "${sDIR}/camera-shutter.oga" else ${notify_cmd_shot} "Screenshot NOT Saved." fi @@ -92,7 +92,7 @@ shotactive() { shotswappy() { tmpfile=$(mktemp) - grim -g "$(slurp)" - >"$tmpfile" && paplay "${sDIR}/camera-shutter.oga" && notify_view "swappy" + grim -g "$(slurp)" - >"$tmpfile" && pw-play "${sDIR}/camera-shutter.oga" && notify_view "swappy" swappy -f - <"$tmpfile" rm "$tmpfile" } -- cgit v1.2.3