mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
Trash imv deletes; add Ctrl+E to edit in Satty (#5721)
* 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.
This commit is contained in:
+7
-4
@@ -3,11 +3,14 @@
|
||||
# Print the current image file
|
||||
<Ctrl+p> = exec lp "$imv_current_file"
|
||||
|
||||
# Delete the current image and quit the viewer
|
||||
<Ctrl+x> = exec rm "$imv_current_file"; quit
|
||||
# Trash the current image and quit the viewer (recoverable from Trash)
|
||||
<Ctrl+x> = exec gio trash -- "$imv_current_file"; quit
|
||||
|
||||
# Delete the current image and move to the next one
|
||||
<Ctrl+Shift+X> = exec rm "$imv_current_file"; close
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user