From f9e3cc9b29c6eacc5c68a9f3c8d4511d08d7aab5 Mon Sep 17 00:00:00 2001 From: Gustavo Parreira Date: Wed, 9 Nov 2022 23:00:36 +0000 Subject: [PATCH] feat: notifying user when screenshot is saved --- hyprshot | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hyprshot b/hyprshot index 9c462ac..7cf794b 100755 --- a/hyprshot +++ b/hyprshot @@ -31,6 +31,9 @@ function save_geometry() { mkdir -p "$SAVEDIR" grim -g "${1}" "$SAVE_FULLPATH" wl-copy < "$SAVE_FULLPATH" + notify-send "Screenshot saved" \ + "Image saved in $SAVE_FULLPATH and copied to the clipboard." \ + -i "$SAVE_FULLPATH" else wl-copy < <(grim -g "${1}" -) fi