wayland.windowManager.sway.config.keybindings
Home-Manager option
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
declared in: <home-manager/modules/services/window-managers/i3-sway/sway.nix>source unavailablelet 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}"; }