From 05d84e47623b784617079edbca60829a0e79e280 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Tue, 23 Jul 2024 22:06:59 -0400 Subject: [PATCH] home/wayland: add clipboard support to screenshot helper --- homeManagerModules/desktop/wayland/helpers.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeManagerModules/desktop/wayland/helpers.nix b/homeManagerModules/desktop/wayland/helpers.nix index bdc514a6..1e99663d 100644 --- a/homeManagerModules/desktop/wayland/helpers.nix +++ b/homeManagerModules/desktop/wayland/helpers.nix @@ -36,7 +36,7 @@ fi if [ -e "$FILENAME" ]; then - ${lib.getExe' pkgs.wl-clipboard-rs "wl-copy"} $FILENAME + ${lib.getExe' pkgs.wl-clipboard-rs "wl-copy"} -t image/png < $FILENAME ${lib.getExe' pkgs.libnotify "notify-send"} "Screenshot saved" "$FILENAME" -i "$FILENAME" fi '';