diff options
author | Adrian Kummerlaender | 2018-07-07 22:58:16 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2018-07-07 22:58:16 +0200 |
commit | 5c8176f99c91e31f44848946e12813e2b99be3e9 (patch) | |
tree | bd5ca74ff7cccc610474052d629fac61d4e7f3fd | |
parent | 7696a056cb69649eae83eeea0bfa53575a1f405d (diff) | |
download | nixos_home-5c8176f99c91e31f44848946e12813e2b99be3e9.tar nixos_home-5c8176f99c91e31f44848946e12813e2b99be3e9.tar.gz nixos_home-5c8176f99c91e31f44848946e12813e2b99be3e9.tar.bz2 nixos_home-5c8176f99c91e31f44848946e12813e2b99be3e9.tar.lz nixos_home-5c8176f99c91e31f44848946e12813e2b99be3e9.tar.xz nixos_home-5c8176f99c91e31f44848946e12813e2b99be3e9.tar.zst nixos_home-5c8176f99c91e31f44848946e12813e2b99be3e9.zip |
Add xfce4-screenshooter keybinding
-rw-r--r-- | gui/conf/xmonad.hs | 1 | ||||
-rw-r--r-- | gui/xmonad.nix | 6 |
2 files changed, 5 insertions, 2 deletions
diff --git a/gui/conf/xmonad.hs b/gui/conf/xmonad.hs index cab108a..cc23718 100644 --- a/gui/conf/xmonad.hs +++ b/gui/conf/xmonad.hs @@ -82,6 +82,7 @@ customKeybindings = , ("M-<Space>" , spawn "rofi -show combi") , ("M-<Return>" , spawn "kitty") , ("M-S-<Return>" , spawn "nvim-qt") + , ("<Print>" , spawn "xfce4-screenshooter") -- window management , ("M-q" , windows $ shift "NSP") , ("M-S-q" , kill) diff --git a/gui/xmonad.nix b/gui/xmonad.nix index 31f5832..231240f 100644 --- a/gui/xmonad.nix +++ b/gui/xmonad.nix @@ -23,9 +23,11 @@ }; }; - home.packages = [ + home.packages = with pkgs; [ # lockscreen - pkgs.i3lock + i3lock + # screenshooter + xfce4-12.xfce4-screenshooter ]; services.screen-locker = { |