Autohide top-edge drag-and-drop source for X11. Inspired by
dragon, but renders as a thin list of
files at the top of the screen that hides itself with only a 2px
highlighted sliver visible. Move the pointer to the top edge to reveal
it; drag any row out to drop the entire file list elsewhere.
Source-only — dungeon does not act as a drop target.
dragon works well but its window competes with everything else on
screen. dungeon solves that by being almost invisible until you need
it: a single coloured pixel-line at the very top of the screen marks
where to hover.
make
make install # installs to ~/.local/bin
make PREFIX=/usr/local installRequires GTK+ 3 and Xlib.
dungeon FILE [FILE ...]
ls *.pdf | dungeon -IOptions:
| flag | meaning |
|---|---|
-I, --stdin |
read filenames from stdin (one per line) |
-k, --keep |
stay open after a drop (default: exit) |
-v, --verbose |
log to stderr |
-h, --help |
show help |
Controls: hover top edge to reveal, drag any row to drag all entries, middle-click to quit.
Optional config at ~/.config/dungeon/config (or
$XDG_CONFIG_HOME/dungeon/config). All keys are optional; the example
file config.example shows the defaults.
background = #292b2c
text = #eeeeec
highlight = #0074a6
font = PragmataPro
width = 380
row_height = 22
peek_height = 2
hide_delay_ms = 250dungeon uses a GTK_WINDOW_POPUP toplevel, which is override-redirect
on X11. The window manager doesn't manage it, so it cannot stack any
other window above it. A 500 ms XRaiseWindow tick keeps dungeon
above other override-redirect surfaces (popups, menus, tooltips).
This is X11-only.
MIT — see LICENSE.