diff options
author | Adrian Kummerlaender | 2018-06-28 16:00:47 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2018-06-28 16:00:47 +0200 |
commit | 435ed0d2023f31cdaf18419696e067f69f36b234 (patch) | |
tree | d8bde6d9a343b0648408830b839acd015c94262a | |
parent | 5edb0d5857433e460f74cf13b1bacd66b6cd55e8 (diff) | |
download | nixos_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.hs | 1 | ||||
-rw-r--r-- | gui/xmonad.nix | 5 |
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 + ]; } |