mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 08:06:50 +01:00
fix: autoclose satty after copy
This commit is contained in:
parent
17b1a6ccf2
commit
5890ba2ddd
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@
|
|||
}: let
|
||||
screenshotPkg = pkgs.writeShellScriptBin "screenshot" ''
|
||||
AREA=$(${lib.getExe pkgs.slurp} -d)
|
||||
${lib.getExe pkgs.grim} -t ppm -g "$AREA" - | ${lib.getExe pkgs.satty} -f - --initial-tool=arrow --copy-command=${pkgs.wl-clipboard}/bin/wl-copy --action-on-enter="save-to-clipboard" --disable-notifications
|
||||
${lib.getExe pkgs.grim} -t ppm -g "$AREA" - | ${lib.getExe pkgs.satty} -f - --initial-tool=arrow --early-exit --copy-command=${pkgs.wl-clipboard}/bin/wl-copy --action-on-enter="save-to-clipboard" --disable-notifications
|
||||
'';
|
||||
in {
|
||||
environment.systemPackages = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue