summaryrefslogtreecommitdiffstats
path: root/pkgs/simple
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-12-02 02:49:40 +0000
committertv <tv@krebsco.de>2026-12-02 03:07:03 +0000
commitc563904fa2c424d20ed1174df7d181f9684bcd94 (patch)
tree1239da213fc0a4b08bb7d7fa85498a7912be2297 /pkgs/simple
parent1b288c2e1d27e373b40b246d856a42fabd90aea7 (diff)
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.
Diffstat (limited to 'pkgs/simple')
-rw-r--r--pkgs/simple/flameshot-once/config.nix12
1 files changed, 12 insertions, 0 deletions
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