summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2021-12-14 22:49:54 +0100
committertv <tv@krebsco.de>2021-12-14 23:23:28 +0100
commit0dc6bc199a24d124d54541b94cd7baffb8b15d16 (patch)
treecdf8828d3aec0e797c660e3d57383cca29b3c550
parent0f764d9199c9e45e00c6232f97bf535df44dd656 (diff)
flameshot-once profile: +copyAndCloseAfterUpload
-rw-r--r--krebs/5pkgs/simple/flameshot-once/profile.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/krebs/5pkgs/simple/flameshot-once/profile.nix b/krebs/5pkgs/simple/flameshot-once/profile.nix
index b1922932..8b54f1bc 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;