flameshot-once profile: +drawColor

This commit is contained in:
tv 2021-12-14 23:11:14 +01:00
parent 657aa2b1d8
commit c2ee574729

View File

@ -64,6 +64,11 @@ let
default = true;
type = types.bool;
};
drawColor = mkOption {
default = "#ff0000";
type =
types.addCheck types.str (test "#[0-9A-Fa-f]{6}");
};
drawThickness = mkOption {
default = 8;
type = types.positive;
@ -179,6 +184,7 @@ let
disabledTrayIcon = cfg.disabledTrayIcon;
checkForUpdates = false;
copyAndCloseAfterUpload = cfg.copyAndCloseAfterUpload;
drawColor = cfg.drawColor;
drawThickness = cfg.drawThickness;
filenamePattern = cfg.filenamePattern;
savePath = cfg.savePath;