summaryrefslogtreecommitdiff
path: root/hyprshot
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2024-09-06 10:34:05 +0800
committerlittleblack111 <littleblack11111@gmail.com>2024-09-06 10:34:05 +0800
commit01abbff07781d55101f5a347634de49631709579 (patch)
tree6069e2ea6e007ff932cdfa917d922b9b1c186230 /hyprshot
parent582c7ad0569e4bc52a86b38e9a51f07f41842e15 (diff)
more hyprland scripts
Diffstat (limited to 'hyprshot')
-rwxr-xr-xhyprshot4
1 files changed, 1 insertions, 3 deletions
diff --git a/hyprshot b/hyprshot
index 90dac61..6aa5368 100755
--- a/hyprshot
+++ b/hyprshot
@@ -16,9 +16,7 @@ notify_view () {
pngcheck ${dir}/"$file" > /dev/null
if [[ $? -eq 0 ]]; then
#${notify_cmd_shot} "Copied to clipboard."
- if $($HOME/scripts/sysutil.sh getSound screenshot); then
- $HOME/scripts/sysutil.sh playsound screen-capture.oga &
- fi
+ if $($HOME/scripts/sysutil.sh getSound screenshot); then $HOME/scripts/sysutil.sh playSound screen-capture.oga & fi
viewnior ${dir}/"$file"
else
# the notifcation too annoying