DRAGONFRUIT PROJECT Wayland compositor · Linux Codeberg repository ↗
dragonfruitWayland compositor

Keyboard bindings

Bind syntax, key modes and the default shortcuts

Keyboard bindings

A bind maps modifiers and a key to a command. Binds come from your config. The defaults below are those of the shipped config.conf.

SECTION 03 · Configuration
Scope: Keymap & Binds
Repository and source ↗

Syntax

bind[flags]=MODIFIERS,KEY,COMMAND,PARAMETERS
bind=SUPER,r,reload_config
bindl=SUPER,L,spawn,swaylock

Modifiers are SUPER, CTRL, ALT, SHIFT and NONE, joined with +. Find key names with wev, or use code:N. Flags: l (when locked), s (keysym), r (on release), p (pass to client), c (allow conflict), n (no repeat).

Default binds

BindCommand
Alt + Returnspawn,foot
Alt + Spacespawn,rofi -show drun
Alt + Qkillclient
Super + Rreload_config
Super + Mquit
Alt + Arrowsfocusdir
Super + Arrowscanvas_pan
Super + Ccanvas_center_window
Super + Homecanvas_reset_camera
Super + Tcanvas_cascade
Super + Minus / Equal / 0canvas_zoom_out / canvas_zoom_in / canvas_zoom,0,100
Super + Tabcanvas_overview
Alt + Tabcanvas_jump
Alt + Ftogglefullscreen
Alt + Atogglemaximizescreen
Alt + Backslashtogglefloating
Super + Gtoggleglobal
Super + Iminimized
Alt + Ztoggle_scratchpad
Ctrl + 1..9view
Alt + 1..9tag

Key modes

Binds after key_mode=NAME apply only in that mode. setkeymode switches modes. The modes switcher, workspace_overview, jump and overview apply while those views are open.

The bindings reference lists every command.

← Previous

Configuration guide

Next →

Appearance