ripdrag is an application that lets you drag and drop files from and to the terminal.
It's designed to be feature to feature* compatible with dragon, while being written in modern Rust and GTK4.
https://user-images.githubusercontent.com/10795335/189587471-7ed26f71-3f5e-4d8d-8048-7539e429531f.mp4
*some features like --on-top can't be ported over because of limitations in gtk4
Many applications expect files to be dragged into them. Normally you would have to put your beloved terminal aside and open a file manager to that, but now you can just type ripdrag FILENAME
and be done.
Used in combination with a fuzzy finder like fzf - e.g. ripdrag $(fzf)
- can make for an amazingly quick and painless terminal experience.
sudo apt install cargo libgtk-4-dev build-essential
sudo dnf install cargo gdk-pixbuf2-devel pango-devel graphene-devel cargo-devel cairo-gobject-devel cairo-devel python2-cairo-devel gtk4-devel
sudo pacman -S rust gtk4 base-devel
cargo install ripdrag
PATH=$PATH:~/.cargo/bin
``` USAGE: ripdrag [OPTIONS] [PATHS]...
ARGS:
OPTIONS:
-a, --all Drag all the items together
-A, --all-compact Show only the number of items and drag them together
-d, --disable-thumbnails Don't load thumbnails from images
-h, --content-height
There are still lots of thing to be done! Mainly: - clean up code - pacman, deb, rpm, windows and macos build scripts - automated builds
Feel free to contribute ;)