flameshot-once profile: +copyAndCloseAfterUpload

This commit is contained in:
tv 2021-12-14 22:49:54 +01:00
parent 0f764d9199
commit 0dc6bc199a

View File

@ -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;