From cb198382c219560e3eb3d057f780a1028fd9f7d8 Mon Sep 17 00:00:00 2001 From: jonny Date: Thu, 6 Jun 2024 17:40:24 +0100 Subject: [PATCH] feat: add defaults screencapture show-thumbnail option --- modules/system/defaults/screencapture.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/modules/system/defaults/screencapture.nix b/modules/system/defaults/screencapture.nix index f7b926a94..b5efc22fa 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. + ''; + }; }; }