diff options
author | tv <tv@krebsco.de> | 2021-12-14 23:11:14 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2021-12-14 23:23:28 +0100 |
commit | c2ee57472919ee0052f7688a51f91d012a2a4327 (patch) | |
tree | 64788340bbf6977c6ea63ae2fc98c4dc31be4fa2 | |
parent | 657aa2b1d802986b9f161fc50bb5c128bb669ef1 (diff) |
flameshot-once profile: +drawColor
-rw-r--r-- | krebs/5pkgs/simple/flameshot-once/profile.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/krebs/5pkgs/simple/flameshot-once/profile.nix b/krebs/5pkgs/simple/flameshot-once/profile.nix index cdc50ea84..269f13a66 100644 --- a/krebs/5pkgs/simple/flameshot-once/profile.nix +++ b/krebs/5pkgs/simple/flameshot-once/profile.nix @@ -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; |