From 3e41b83066f5e44c7d2c9d581367860812e9a60e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Wed, 21 Dec 2022 22:44:07 +0100 Subject: [PATCH] fix: slurp --- hosts/neodymium/configuration.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/neodymium/configuration.nix b/hosts/neodymium/configuration.nix index 5ceed98..b83b673 100644 --- a/hosts/neodymium/configuration.nix +++ b/hosts/neodymium/configuration.nix @@ -311,10 +311,10 @@ in { "Shift+Print" = "exec grim - | wl-copy -t 'image/png'"; # Screenshot area "${modifier}+Print" = - "exec grim -g '$(slurp -d)' `date +'%Y-%m-%dT%H:%M:%S'`.png"; + "exec slurp -d | grim -g - `date +'%Y-%m-%dT%H:%M:%S'`.png"; # Screenshot area to clipboard "${modifier}+Shift+Print" = - "exec grim -g '$(slurp -d)' - | wl-copy -t 'image/png'"; + "exec slurp -d | grim -g - | wl-copy -t 'image/png'"; # backlight "XF86MonBrightnessUp" = "exec light -A 5";