xsession.windowManager.i3.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 i3 keybindings."- Example
let modifier = config.xsession.windowManager.i3.config.modifier; in lib.mkOptionDefault { "${modifier}+Return" = "exec i3-sensible-terminal"; "${modifier}+Shift+q" = "kill"; "${modifier}+d" = "exec ${pkgs.dmenu}/bin/dmenu_run"; }- Declared
- <home-manager/modules/services/window-managers/i3-sway/i3.nix>