flameshot-once: default filenamePattern w/o .png

This commit is contained in:
tv 2019-02-16 17:47:12 +01:00
parent 270ceb7676
commit 4e81d40e30

View File

@ -60,7 +60,7 @@ let
type = types.positive; type = types.positive;
}; };
filenamePattern = mkOption { filenamePattern = mkOption {
default = "%FT%T%z_flameshot.png"; default = "%FT%T%z_flameshot";
type = type =
# This is types.filename extended by [%:][%:+]* # This is types.filename extended by [%:][%:+]*
types.addCheck types.str (test "[%:0-9A-Za-z._][%:+0-9A-Za-z._-]*"); types.addCheck types.str (test "[%:0-9A-Za-z._][%:+0-9A-Za-z._-]*");