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.
Declarations
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";
}