From b363b94403dabd292bbe9d9653a9a71337f36c06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Thu, 31 Oct 2019 12:40:09 +0000 Subject: [PATCH] Add screen grabber to i3 --- nixos/home.nix | 2 +- nixos/i3/i3.nix | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/nixos/home.nix b/nixos/home.nix index 2aecffce..31b26db8 100644 --- a/nixos/home.nix +++ b/nixos/home.nix @@ -14,7 +14,7 @@ in }; }; home.packages = with pkgs; [ - cabal-install stack hsetroot lm_sensors + cabal-install stack hsetroot lm_sensors gnome3.gnome-screenshot wirelesstools ranger xpdf apvlv unstable.xidlehook blueman fontconfig nodejs rustup gcc gdb binutils xclip pkgconfig veracrypt gitAndTools.diff-so-fancy diff --git a/nixos/i3/i3.nix b/nixos/i3/i3.nix index d2e7febc..5128ae93 100644 --- a/nixos/i3/i3.nix +++ b/nixos/i3/i3.nix @@ -47,6 +47,8 @@ in "XF86MonBrightnessUp" = "exec light -s sysfs/backlight/intel_backlight -A 5"; "XF86MonBrightnessDown" = "exec light -s sysfs/backlight/intel_backlight -U 5"; + "Print" = "exec ${pkgs.gnome3.gnome-screenshot}/bin/gnome-screenshot -i"; + "${mod}+r" = "exec ${pkgs.rofi}/bin/rofi -show combi -combi-modi window#run#ssh -modi combi"; "${mod}+c" = "exec ${pkgs.clipmenu}/bin/clipmenu"; "${mod}+q" = "kill";