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)); type = types.listOf (types.enum (attrNames ButtonType));
}; };
copyAndCloseAfterUpload = mkOption {
default = false;
type = types.bool;
};
disabledTrayIcon = mkOption { disabledTrayIcon = mkOption {
default = true; default = true;
type = types.bool; type = types.bool;
@ -166,6 +170,7 @@ let
buttons = ''@Variant(\0\0\0\x7f\0\0\0\v${toQList "int" cfg.buttons})''; buttons = ''@Variant(\0\0\0\x7f\0\0\0\v${toQList "int" cfg.buttons})'';
disabledTrayIcon = cfg.disabledTrayIcon; disabledTrayIcon = cfg.disabledTrayIcon;
checkForUpdates = false; checkForUpdates = false;
copyAndCloseAfterUpload = cfg.copyAndCloseAfterUpload;
drawThickness = cfg.drawThickness; drawThickness = cfg.drawThickness;
filenamePattern = cfg.filenamePattern; filenamePattern = cfg.filenamePattern;
savePath = cfg.savePath; savePath = cfg.savePath;