From c563904fa2c424d20ed1174df7d181f9684bcd94 Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 2 Dec 2026 02:49:40 +0000 Subject: flameshot-once: add captureActiveMonitor and useX11LegacyScreenshot Settings flameshot 14 introduced: capture the monitor under the cursor instead of asking which one, and capture from the X server directly instead of asking xdg-desktop-portal. --- pkgs/simple/flameshot-once/config.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'pkgs') diff --git a/pkgs/simple/flameshot-once/config.nix b/pkgs/simple/flameshot-once/config.nix index 52a8a9f6..41b42966 100644 --- a/pkgs/simple/flameshot-once/config.nix +++ b/pkgs/simple/flameshot-once/config.nix @@ -67,6 +67,9 @@ ''; type = lib.types.nullOr lib.types.bool; }; + captureActiveMonitor = lib.mkOption { + type = lib.types.nullOr lib.types.bool; + }; checkForUpdates = lib.mkOption { type = lib.types.nullOr lib.types.bool; }; @@ -253,6 +256,15 @@ ''; type = lib.types.nullOr lib.types.bool; }; + useX11LegacyScreenshot = lib.mkOption { + description = '' + [Deprecated] Use legacy Qt X11 screenshot method instead of + freedesktop portal. Enable this if your WM has no + xdg-desktop-portal (e.g. xmonad, i3). Only effective on X11; + ignored on Wayland. + ''; + type = lib.types.nullOr lib.types.bool; + }; userColors = lib.mkOption { apply = value: if value != null then -- cgit v1.3.1