More small changes
This commit is contained in:
parent
111c78b6e7
commit
e0a54706cd
2 changed files with 6 additions and 23 deletions
|
@ -60,22 +60,4 @@ case $opt in # active window / selection / whole screen
|
|||
esac
|
||||
|
||||
# === TAKE ACTION ON FILE ===
|
||||
# in a loop, user may want to take many actions
|
||||
# while
|
||||
action="$(zenity --title="[Grim] Took screenshot: $img" --width=600 --height=300 --list \
|
||||
--column='Command' --column='Choose an action:' <<- EOF
|
||||
wl-copy < "\$img"
|
||||
Copy image to clipboard
|
||||
rm "\$img"; break
|
||||
Delete image and exit
|
||||
$viewer "\$img"
|
||||
View image with $viewer
|
||||
$editor "\$img"
|
||||
Edit image with $editor
|
||||
mkdir -p "\$ssdir"; cp "\$img" "\$ssdir"
|
||||
Save image to $ssdir
|
||||
EOF
|
||||
)"
|
||||
#do
|
||||
eval "$action"
|
||||
#done
|
||||
wl-copy < $img
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue