From f78e1568857a7f941884e6e1759a87887a14dfb3 Mon Sep 17 00:00:00 2001 From: Natsu Kagami Date: Sat, 4 Mar 2023 11:13:16 +0100 Subject: [PATCH] Use grim again --- home/modules/programs/my-sway/default.nix | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/home/modules/programs/my-sway/default.nix b/home/modules/programs/my-sway/default.nix index 1d80948..83bd678 100644 --- a/home/modules/programs/my-sway/default.nix +++ b/home/modules/programs/my-sway/default.nix @@ -30,18 +30,10 @@ let in f from; - wayshot = pkgs.unstable.wayshot.overrideAttrs (attrs: { - src = pkgs.fetchFromGitHub { - owner = "waycrate"; - repo = "wayshot"; - rev = "27cf882ed0a90e657c66b73a44cf2327c322864b"; - sha256 = "sha256-sWF5dV22lJfZooFb8p8+hhXqJ2DazVZYFu4k4XFPtu8="; - }; - }); screenshotScript = pkgs.writeScriptBin "screenshot" '' #! ${pkgs.fish}/bin/fish - ${wayshot}/bin/wayshot -s (${pkgs.slurp}/bin/slurp -f '%x %y %w %h') --stdout | ${pkgs.wl-clipboard}/bin/wl-copy + ${pkgs.grim}/bin/grim -g (${pkgs.slurp}/bin/slurp) - | ${pkgs.wl-clipboard}/bin/wl-copy ''; ignored-devices = [ "Surface_Headphones" ];