From 0dc6bc199a24d124d54541b94cd7baffb8b15d16 Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 14 Dec 2021 22:49:54 +0100 Subject: [PATCH] flameshot-once profile: +copyAndCloseAfterUpload --- krebs/5pkgs/simple/flameshot-once/profile.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/krebs/5pkgs/simple/flameshot-once/profile.nix b/krebs/5pkgs/simple/flameshot-once/profile.nix index b19229327..8b54f1bcd 100644 --- a/krebs/5pkgs/simple/flameshot-once/profile.nix +++ b/krebs/5pkgs/simple/flameshot-once/profile.nix @@ -56,6 +56,10 @@ let ; type = types.listOf (types.enum (attrNames ButtonType)); }; + copyAndCloseAfterUpload = mkOption { + default = false; + type = types.bool; + }; disabledTrayIcon = mkOption { default = true; type = types.bool; @@ -166,6 +170,7 @@ let buttons = ''@Variant(\0\0\0\x7f\0\0\0\v${toQList "int" cfg.buttons})''; disabledTrayIcon = cfg.disabledTrayIcon; checkForUpdates = false; + copyAndCloseAfterUpload = cfg.copyAndCloseAfterUpload; drawThickness = cfg.drawThickness; filenamePattern = cfg.filenamePattern; savePath = cfg.savePath;