Adds edit to screenshot

This commit is contained in:
Michel Fedde 2025-09-25 18:51:14 +02:00
parent 064740cbf4
commit 5f09a86cdd
2 changed files with 5 additions and 3 deletions

View file

@ -1,6 +1,6 @@
#!/bin/bash
NOTIFY_CMD="notify-send -i "shoot" -t 10000 -A open=Open -A delete=Delete *click*"
NOTIFY_CMD="notify-send -i "shoot" -t 10000 -A open=Open -A delete=Delete -A edit=Edit *click*"
TARGET_DIRECTORY="$(xdg-user-dir)/Pictures/Screenshots"
@ -55,6 +55,9 @@ case "$response" in
delete)
rm "$targetPath"
;;
edit)
hyprctl dispatch exec pinta "$targetPath" &
;;
open)
hyprctl dispatch exec xdg-open "$targetPath" &
;;