Mouse Bindings
Assign actions to mouse button presses with optional modifier keys.
Syntax
- Modifiers:
SUPER, CTRL, ALT, SHIFT, NONE. Combine with + (e.g., SUPER+CTRL)
- Buttons:
btn_left, btn_right, btn_middle, btn_side, btn_extra, btn_forward, btn_back, btn_task
Warning: When modifiers are set to NONE, only btn_middle works in normal mode. btn_left and btn_right only work in overview mode.
Examples
Axis Bindings
Map scroll wheel movements to actions for workspace and window navigation.
Syntax
- Direction:
UP, DOWN, LEFT, RIGHT
Examples
Gesture Bindings
Enable touchpad swipe gestures for navigation and window management.
Syntax
- Direction:
up, down, left, right
- Fingers:
3 or 4
Info: Gestures require proper touchpad configuration. See Input Devices for touchpad settings like tap_to_click and disable_while_typing.
Examples
Switch Bindings
Trigger actions on hardware events like laptop lid open/close.
Syntax
- Fold State:
fold (lid closed), unfold (lid opened)
Warning: Disable system lid handling in /etc/systemd/logind.conf:
Examples