From c2ee57472919ee0052f7688a51f91d012a2a4327 Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 14 Dec 2021 23:11:14 +0100 Subject: flameshot-once profile: +drawColor --- krebs/5pkgs/simple/flameshot-once/profile.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'krebs/5pkgs/simple') 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; -- cgit v1.2.3