From f5ef9031a6bbc24e82a14f3dd6a6065ec1d7121f Mon Sep 17 00:00:00 2001 From: Jack O'Sullivan Date: Fri, 20 Nov 2026 12:02:22 +0000 Subject: [PATCH] home-manager/gui: Keep screenshots on clipboard Use `wl-copy` for Satty copies so screenshots remain available after closing the editor. --- home-manager/modules/gui/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home-manager/modules/gui/default.nix b/home-manager/modules/gui/default.nix index c068ac6..df6b6de 100644 --- a/home-manager/modules/gui/default.nix +++ b/home-manager/modules/gui/default.nix @@ -376,8 +376,8 @@ in "${mod}+Shift+n" = "exec ${clearWsName}"; # Screenshots - "${mod}+Shift+d" = ''exec grim - | satty -f -''; - "${mod}+Shift+s" = ''exec grim -g "$(slurp)" - | satty -f -''; + "${mod}+Shift+d" = ''exec grim - | satty -f - --copy-command "${pkgs.wl-clipboard}/bin/wl-copy"''; + "${mod}+Shift+s" = ''exec grim -g "$(slurp)" - | satty -f - --copy-command "${pkgs.wl-clipboard}/bin/wl-copy"''; "XF86MonBrightnessDown" = "exec ${pkgs.brightnessctl}/bin/brightnessctl set 5%-"; "XF86MonBrightnessUp" = "exec ${pkgs.brightnessctl}/bin/brightnessctl set +5%";