aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/ScreenShot.sh
diff options
context:
space:
mode:
authorJaKooLit <jimmielovejay@gmail.com>2024-06-03 03:43:07 +0900
committerJaKooLit <jimmielovejay@gmail.com>2024-06-03 03:43:07 +0900
commit7f08f094980e969f683fadb133e511c5aee93bd9 (patch)
treee37095adc9c543741525c8354c16f51ca54ccc7b /config/hypr/scripts/ScreenShot.sh
parent692fdccbdd304d81d588eab1256a44620a675050 (diff)
added error sound for screenshot not saved
Diffstat (limited to 'config/hypr/scripts/ScreenShot.sh')
-rwxr-xr-xconfig/hypr/scripts/ScreenShot.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/hypr/scripts/ScreenShot.sh b/config/hypr/scripts/ScreenShot.sh
index d2ee51a2..5d15ee68 100755
--- a/config/hypr/scripts/ScreenShot.sh
+++ b/config/hypr/scripts/ScreenShot.sh
@@ -22,6 +22,7 @@ notify_view() {
"${sDIR}/Sounds.sh" --screenshot
else
${notify_cmd_shot} "Screenshot of '${active_window_class}' not Saved"
+ "${sDIR}/Sounds.sh" --error
fi
elif [[ "$1" == "swappy" ]]; then
${notify_cmd_shot} "Screenshot Captured."
@@ -32,6 +33,7 @@ notify_view() {
"${sDIR}/Sounds.sh" --screenshot
else
${notify_cmd_shot} "Screenshot NOT Saved."
+ "${sDIR}/Sounds.sh" --error
fi
fi
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage