diff --git a/modules/graphical/shared.nix b/modules/graphical/shared.nix index 5877cd0..6355b1c 100644 --- a/modules/graphical/shared.nix +++ b/modules/graphical/shared.nix @@ -9,7 +9,7 @@ in }; config = let - screenshot = pkgs.writeShellScriptBin "screenshot.sh" '' + screenshot = pkgs.writeShellScriptBin "screenshot" '' ${pkgs.scrot}/bin/scrot -fs - | ${pkgs.xclip}/bin/xclip -selection clipboard -t image/png -i ''; in mkIf cfg.enable {