From 5c8176f99c91e31f44848946e12813e2b99be3e9 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sat, 7 Jul 2018 22:58:16 +0200 Subject: Add xfce4-screenshooter keybinding --- gui/conf/xmonad.hs | 1 + 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-" , spawn "rofi -show combi") , ("M-" , spawn "kitty") , ("M-S-" , spawn "nvim-qt") + , ("" , 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 = { -- cgit v1.2.3