README (1402B)
1 dragon - simple drag-and-drop source/sink for X or Wayland 2 3 Many programs, particularly web applications, expect files to be dragged 4 into them now. If you don't habitually use a file manager that is a 5 problem. dragon is a lightweight drag-and-drop source for X where you 6 can run: 7 dragon file.tar.gz 8 to get a window with just that file in it, ready to be dragged where you 9 need it. 10 11 What if you need to drag into something? Using: 12 dragon --target 13 you get a window you can drag files and text into. Dropped items are 14 printed to standard output. 15 16 If you're only dealing with a single file, either source or sink, use 17 the --and-exit option to terminate as soon as one drag-and-drop 18 operation is complete. 19 20 If you want to keep the files you drag in around for a while, use: 21 dragon --target --keep 22 and each file you drop becomes its own draggable button, which you can 23 drag elsewhere later. 24 25 Installing 26 ---------- 27 Just run `make` to compile dragon and get an executable you can run 28 immediately or put where you like. 29 30 To install, run `make install`, which will put it into ~/.local/bin by 31 default. If you want a different destination, run `make 32 PREFIX=/path/here install` instead. To choose a different executable 33 name, run `make NAME=dragon-drop install`, which will generate the 34 executable and man page to match the given name. 35 36 dragon requires GTK+ 3 and is distributed under the GNU GPL version 3.