23 lines
744 B
Nix
23 lines
744 B
Nix
|
{ pkgs, depot, lib, config, ... }:
|
||
|
{
|
||
|
imports = [ ./graphical-client.nix ];
|
||
|
|
||
|
xsession.windowManager.i3 = {
|
||
|
enable = true;
|
||
|
config = {
|
||
|
modifier = "Mod4";
|
||
|
keybindings = let
|
||
|
modifier = config.xsession.windowManager.i3.config.modifier;
|
||
|
in lib.mkOptionDefault {
|
||
|
"${modifier}+l" = "exec loginctl lock-session";
|
||
|
"${modifier}+p" = "exec ${depot.nix.pkgs.flameshot}/bin/flameshot gui";
|
||
|
"${modifier}+Return" = "exec ${pkgs.alacritty}/bin/alacritty";
|
||
|
};
|
||
|
startup = [
|
||
|
{ command = "xss-lock --transfer-sleep-lock -- i3lock --nofork"; notification = false; }
|
||
|
{ command = "${pkgs.gnome3.networkmanagerapplet}/bin/nm-applet"; notification = false; }
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
}
|