diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2021-11-08 09:55:16 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2021-11-13 09:05:20 +0100 |
commit | 3a981257de1c70dd8582eb8ddd9616b547a1cfca (patch) | |
tree | cc22a37d23b24f4c9c61c1f04437a1bcbce04011 /utils/lib_static.sh | |
parent | bf52353a5c3d0ba7bebde209c916d492fe521159 (diff) | |
download | searxng-3a981257de1c70dd8582eb8ddd9616b547a1cfca.tar.gz searxng-3a981257de1c70dd8582eb8ddd9616b547a1cfca.zip |
[simple theme] create favicon.png from src/svg/searxng-wordmark.svg
new bash function convert_if_newer() / usage::
convert_if_newer <origfile> <outfile> [<options>, ...]
convert_if_newer "path/to/origin.svg" "path/to/converted.png" -transparent white -resize 64x64
Run's ImageMagik' convert comand to generate <outfile> from <origfile>, if
<origfile> is newer than <outfile>. The command line is to convert is::
convert <origfile> [<options>, ...] <outfile>
PNG 'searx/static/themes/simple/img/favicon.png' has been created by::
$ make themes.simple
CONVERT searx/static/themes/simple/src/svg/searxng-wordmark.svg -transparent white -resize 64x64 searx/static/themes/simple/img/favicon.png
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'utils/lib_static.sh')
-rwxr-xr-x | utils/lib_static.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/lib_static.sh b/utils/lib_static.sh index b88b9b6cf..35fdbd7de 100755 --- a/utils/lib_static.sh +++ b/utils/lib_static.sh @@ -11,6 +11,7 @@ STATIC_BUILT_PATHS=( searx/static/themes/simple/css searx/static/themes/simple/js searx/static/themes/simple/src/generated/pygments.less + searx/static/themes/simple/img/favicon.png searx/templates/__common__/searxng-wordmark.min.svg ) |