nik012003 / ripdrag

Drag and Drop utilty written in Rust and GTK4
GNU General Public License v3.0
496 stars 17 forks source link

feat: optionally print dragged objects #36

Open a-kenji opened 10 months ago

a-kenji commented 10 months ago

Add two new cli flags, that will print, if a file was successfully dragged:

and_print
and_print_uri

Useage:

ripdrag --and-print-uri *

This will print either the path of the file, or the uri of the file upon a successfull drag event. Useful for composing with other tools.

nik012003 commented 10 months ago

Hi and thanks for the PR! I think this feature is great, but I can't merge it since it's for an early version of ripdrag. Can you rebase it to work for the main branch? Thank you!

Fabillotic commented 10 months ago

Could you also run cargo fmt to check the formatting please? It helps with the style looking uniform across the project. Thanks!