dotfiles/nixos/user-xsession.nix

23 lines
558 B
Nix
Raw Normal View History

2019-07-14 09:35:06 +01:00
{ 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";
2019-07-14 09:36:23 +01:00
"${mod}+l" = "exec loginctl lock-session";
2019-07-14 09:35:06 +01:00
};
};
};
};
}