diff --git a/.config/hypr/scripts/hyprshot b/.config/hypr/scripts/hyprshot index bec7ae1f..09b46399 100755 --- a/.config/hypr/scripts/hyprshot +++ b/.config/hypr/scripts/hyprshot @@ -60,7 +60,7 @@ function send_notification() { local message=$([ $CLIPBOARD -eq 1 ] && echo "Image copied to the clipboard" || echo "Image saved in ${1} and copied to the clipboard.") - action=$(notify-send -i "$1" --action="view=View" --action="edit=Edit" "Screenshot saved" \ + action=$(notify-send -i "$1" --action="view=View" --action="edit=Edit" --action="folder=Open on Folder" "Screenshot saved" \ "${message}" \ -t "$NOTIF_TIMEOUT" -i "${1}" -a Hyprshot) @@ -75,6 +75,9 @@ function send_notification() { notify-send -u critical "Cannot Edit Image" "Install Satty" fi ;; + "folder") + nemo "$1" + ;; esac }