summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorjonny <jonnyowenpowell@gmail.com>2024-06-06 17:40:24 +0100
committerjonny <jonnyowenpowell@gmail.com>2024-06-06 17:40:24 +0100
commitcb198382c219560e3eb3d057f780a1028fd9f7d8 (patch)
treef766a3d80fab1be9ddc33fc280964801ed21f74a /modules/system
parentc0d5b8c54d6828516c97f6be9f2d00c63a363df4 (diff)
feat: add defaults screencapture show-thumbnail option
Diffstat (limited to 'modules/system')
-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.
+ '';
+ };
};
}