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
|
#!/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"
|
TARGET_DIRECTORY="$(xdg-user-dir)/Pictures/Screenshots"
|
||||||
|
|
||||||
|
|
@ -55,6 +55,9 @@ case "$response" in
|
||||||
delete)
|
delete)
|
||||||
rm "$targetPath"
|
rm "$targetPath"
|
||||||
;;
|
;;
|
||||||
|
edit)
|
||||||
|
hyprctl dispatch exec pinta "$targetPath" &
|
||||||
|
;;
|
||||||
open)
|
open)
|
||||||
hyprctl dispatch exec xdg-open "$targetPath" &
|
hyprctl dispatch exec xdg-open "$targetPath" &
|
||||||
;;
|
;;
|
||||||
|
|
|
||||||
|
|
@ -25,8 +25,7 @@ if [ $XDG_SESSION_DESKTOP = "Hyprland" ]; then
|
||||||
hyprpicker \
|
hyprpicker \
|
||||||
pulseaudio-control \
|
pulseaudio-control \
|
||||||
wl-clipboard \
|
wl-clipboard \
|
||||||
grim \
|
grim slurp pinta \
|
||||||
slurp \
|
|
||||||
hyprsunset \
|
hyprsunset \
|
||||||
darkman \
|
darkman \
|
||||||
anyrun-git \
|
anyrun-git \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue