summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/simple/flameshot-once
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 /krebs/5pkgs/simple/flameshot-once
parent0f764d9199c9e45e00c6232f97bf535df44dd656 (diff)
flameshot-once profile: +copyAndCloseAfterUpload
Diffstat (limited to 'krebs/5pkgs/simple/flameshot-once')
-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 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;