Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added preview screenshot #64

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions README → README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@ Many programs, particularly web applications, expect files to be dragged
into them now. If you don't habitually use a file manager that is a
problem. dragon is a lightweight drag-and-drop source for X where you
can run:
dragon file.tar.gz
`dragon file.tar.gz`
to get a window with just that file in it, ready to be dragged where you
need it.

What if you need to drag into something? Using:
dragon --target
`dragon --target`
you get a window you can drag files and text into. Dropped items are
printed to standard output.

If you're only dealing with a single file, either source or sink, use
the --and-exit option to terminate as soon as one drag-and-drop
the `--and-exit` option to terminate as soon as one drag-and-drop
operation is complete.

If you want to keep the files you drag in around for a while, use:
dragon --target --keep
`dragon --target --keep`
and each file you drop becomes its own draggable button, which you can
drag elsewhere later.

Expand All @@ -34,3 +34,6 @@ name, run `make NAME=dragon-drop install`, which will generate the
executable and man page to match the given name.

dragon requires GTK+ 3 and is distributed under the GNU GPL version 3.

![demo](https://i.imgur.com/UkmrXAC.png)
- *now take that file that showed up and just drag it anywhere you want!*