aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2018-06-28 16:00:47 +0200
committerAdrian Kummerlaender2018-06-28 16:00:47 +0200
commit435ed0d2023f31cdaf18419696e067f69f36b234 (patch)
treed8bde6d9a343b0648408830b839acd015c94262a
parent5edb0d5857433e460f74cf13b1bacd66b6cd55e8 (diff)
downloadnixos_home-435ed0d2023f31cdaf18419696e067f69f36b234.tar
nixos_home-435ed0d2023f31cdaf18419696e067f69f36b234.tar.gz
nixos_home-435ed0d2023f31cdaf18419696e067f69f36b234.tar.bz2
nixos_home-435ed0d2023f31cdaf18419696e067f69f36b234.tar.lz
nixos_home-435ed0d2023f31cdaf18419696e067f69f36b234.tar.xz
nixos_home-435ed0d2023f31cdaf18419696e067f69f36b234.tar.zst
nixos_home-435ed0d2023f31cdaf18419696e067f69f36b234.zip
Add i3lock keybinding
-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
+ ];
}