Adds edit to screenshot
This commit is contained in:
parent
064740cbf4
commit
5f09a86cdd
2 changed files with 5 additions and 3 deletions
|
|
@ -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" &
|
||||
;;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue