* Trash imv deletes; add Ctrl+E to edit in Satty Ctrl+X / Ctrl+Shift+X now move the image to the freedesktop trash via `gio trash` instead of unconditional `rm`, so accidental presses are recoverable from the file manager's Trash. Adds Ctrl+E to open the current image in Satty (already in omarchy-base.packages) and quit imv, mirroring the typical screenshot → annotate workflow. * Add -- separator to gio trash invocations Prevents filenames starting with - from being parsed as options.
17 lines
541 B
Plaintext
17 lines
541 B
Plaintext
[binds]
|
|
|
|
# Print the current image file
|
|
<Ctrl+p> = exec lp "$imv_current_file"
|
|
|
|
# Trash the current image and quit the viewer (recoverable from Trash)
|
|
<Ctrl+x> = exec gio trash -- "$imv_current_file"; quit
|
|
|
|
# Trash the current image and move to the next one
|
|
<Ctrl+Shift+X> = exec gio trash -- "$imv_current_file"; close
|
|
|
|
# Rotate the currently open image by 90 degrees
|
|
<Ctrl+r> = exec mogrify -rotate 90 "$imv_current_file"
|
|
|
|
# Edit the current image in Satty and quit the viewer
|
|
<Ctrl+e> = exec satty --filename "$imv_current_file" & ; quit
|