aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gui/conf/xmonad.hs1
-rw-r--r--gui/xmonad.nix5
2 files changed, 6 insertions, 0 deletions
diff --git a/gui/conf/xmonad.hs b/gui/conf/xmonad.hs
index c11c8ce..d451913 100644
--- a/gui/conf/xmonad.hs
+++ b/gui/conf/xmonad.hs
@@ -77,6 +77,7 @@ keybindings =
-- xmonad session control
[ ("C-M1-<Escape>" , io (exitWith ExitSuccess))
, ("C-M1-<Backspace>" , spawn "xmonad --restart")
+ , ("C-M1-l" , spawn "i3lock -c 000000")
-- application launchers
, ("M-<Space>" , spawn "rofi -show combi")
, ("M-<Return>" , spawn "kitty")
diff --git a/gui/xmonad.nix b/gui/xmonad.nix
index c0c4647..3586747 100644
--- a/gui/xmonad.nix
+++ b/gui/xmonad.nix
@@ -21,4 +21,9 @@
config = ./conf/xmonad.hs;
};
};
+
+ home.packages = [
+ # lockscreen
+ pkgs.i3lock
+ ];
}