Skip to content

Commit

Permalink
Merge pull request #965 from jonnyowenpowell/feat/screencapture-show-…
Browse files Browse the repository at this point in the history
…thumbnail-defaults-option

feat: add defaults screencapture show-thumbnail option
  • Loading branch information
Enzime committed Jun 9, 2024
2 parents c0d5b8c + cb19838 commit 315aa64
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion modules/system/defaults/screencapture.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ config, lib, ... }:
{ lib, ... }:

with lib;

Expand Down Expand Up @@ -28,5 +28,13 @@ with lib;
Disable drop shadow border around screencaptures. The default is false.
'';
};

system.defaults.screencapture.show-thumbnail = mkOption {
type = types.nullOr types.bool;
default = null;
description = ''
Show thumbnail after screencapture before writing to file. The default is true.
'';
};
};
}

0 comments on commit 315aa64

Please sign in to comment.