summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorMichael Hoang <Enzime@users.noreply.github.com>2024-06-10 09:49:55 +1000
committerGitHub <noreply@github.com>2024-06-10 09:49:55 +1000
commit315aa649ba307704db0b16c92f097a08a65ec955 (patch)
treef766a3d80fab1be9ddc33fc280964801ed21f74a /modules
parentc0d5b8c54d6828516c97f6be9f2d00c63a363df4 (diff)
parentcb198382c219560e3eb3d057f780a1028fd9f7d8 (diff)
Merge pull request #965 from jonnyowenpowell/feat/screencapture-show-thumbnail-defaults-option
feat: add defaults screencapture show-thumbnail option
Diffstat (limited to 'modules')
-rw-r--r--modules/system/defaults/screencapture.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/modules/system/defaults/screencapture.nix b/modules/system/defaults/screencapture.nix
index f7b926a..b5efc22 100644
--- a/modules/system/defaults/screencapture.nix
+++ b/modules/system/defaults/screencapture.nix
@@ -1,4 +1,4 @@
-{ config, lib, ... }:
+{ lib, ... }:
with lib;
@@ -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.
+ '';
+ };
};
}