wayland.windowManager.sway.config.keybindings
An attribute set that assigns a key press to an action using a key symbol. See https://i3wm.org/docs/userguide.html#keybindings.
Consider to use lib.mkOptionDefault function to extend or override
default keybindings instead of specifying all of them from scratch.
- Type
attribute set of (null or string)- Default
"Default sway keybindings."- Example
let modifier = config.wayland.windowManager.sway.config.modifier; in lib.mkOptionDefault { "${modifier}+Return" = "exec ${cfg.config.terminal}"; "${modifier}+Shift+q" = "kill"; "${modifier}+d" = "exec ${cfg.config.menu}"; }- Declared
- <home-manager/modules/services/window-managers/i3-sway/sway.nix>