Commands
Commands can be bound to keys, or sent to a running session with dfmsg.
dragonfruit options
| Option | Meaning |
|---|---|
-v | Show the version |
-d | Debug log |
-c <file> | Use a config file |
-s <command> | Run a startup command |
-r <fd> | Write a newline to this descriptor when ready |
-p | Check the config |
dfmsg
dfmsg get canvas
dfmsg get all-clients
dfmsg get all-monitors
dfmsg watch all-tags
dfmsg dispatch canvas_overview
Replies are JSON. See the IPC reference.
Canvas commands
| Command | Arguments | Action |
|---|---|---|
canvas_pan | dx,dy | Pan while held. The magnitude is the speed. |
canvas_drag | none | Grab the plane |
canvas_dragspawn | command | Drag a box, and the program opens in it |
canvas_zoom | relative,percent | For example 0,50 |
canvas_zoom_in / canvas_zoom_out | none | One zoom step |
canvas_center_window | none | Center the focused window |
canvas_reset_camera | none | Return to the origin |
canvas_focus_dir | dx,dy | Focus the nearest window in a direction |
canvas_overview | none | Toggle the overview |
canvas_jump | none | Overview with letters |
canvas_cascade | none | Tidy windows into a grid |
Window and session commands
spawn, spawn_shell, killclient, focusdir, view, tag, togglefloating, togglefullscreen, reload_config and quit are inherited from Mango. The bindings reference lists them all.