DRAGONFRUIT PROJECT Wayland compositor · Linux Codeberg repository ↗
dragonfruitWayland compositor

Commands

Command-line options, dfmsg and canvas commands

Commands

Commands can be bound to keys, or sent to a running session with dfmsg.

SECTION 04 · Technical reference
Scope: Command Reference
Repository and source ↗

dragonfruit options

OptionMeaning
-vShow the version
-dDebug log
-c <file>Use a config file
-s <command>Run a startup command
-r <fd>Write a newline to this descriptor when ready
-pCheck 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

CommandArgumentsAction
canvas_pandx,dyPan while held. The magnitude is the speed.
canvas_dragnoneGrab the plane
canvas_dragspawncommandDrag a box, and the program opens in it
canvas_zoomrelative,percentFor example 0,50
canvas_zoom_in / canvas_zoom_outnoneOne zoom step
canvas_center_windownoneCenter the focused window
canvas_reset_cameranoneReturn to the origin
canvas_focus_dirdx,dyFocus the nearest window in a direction
canvas_overviewnoneToggle the overview
canvas_jumpnoneOverview with letters
canvas_cascadenoneTidy 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.

← Previous

Architecture

Next →

Configuration reference