dotfiles/nixos/user-xsession.nix
2019-07-14 09:36:23 +01:00

23 lines
558 B
Nix

{ config, pkgs, ... }:
let
mod = "Mod4";
in
{
xsession = {
enable = true;
windowManager.i3 = {
enable = true;
config = {
modifier = mod;
keybindings = {
"${mod}+Return" = "exec i3-sensible-terminal";
"${mod}+Shift+q" = "kill";
"${mod}+d" = "exec ${pkgs.rofi}/bin/rofi -show combi -combi-modi window#run#ssh -modi combi";
"${mod}+f" = "fullscreen toggle";
"${mod}+l" = "exec loginctl lock-session";
};
};
};
};
}