diff options
author | Ken Moore <ken@ixsystems.com> | 2017-04-13 14:18:52 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-04-13 14:18:52 -0400 |
commit | be63d3f262c8782a4b27516c8f9a2c9a6bc1c71c (patch) | |
tree | 8cc733979c068e939ade2cefee194b423b7b50b3 /icon-theme/changeFillColor.sh | |
parent | Another few icon changes (diff) | |
download | lumina-be63d3f262c8782a4b27516c8f9a2c9a6bc1c71c.tar.gz lumina-be63d3f262c8782a4b27516c8f9a2c9a6bc1c71c.tar.bz2 lumina-be63d3f262c8782a4b27516c8f9a2c9a6bc1c71c.zip |
Add the "dark" version of the new material-design icon theme (actually light colored icons - used for dark themes)
Diffstat (limited to 'icon-theme/changeFillColor.sh')
-rwxr-xr-x | icon-theme/changeFillColor.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/icon-theme/changeFillColor.sh b/icon-theme/changeFillColor.sh new file mode 100755 index 00000000..32e76b8c --- /dev/null +++ b/icon-theme/changeFillColor.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +THEME=${1} +COLOR=${2} +if [ "z" == "${THEME}z" ] || [ "z" == "${COLOR}z" ]; then + echo "Usage: changeFillColor.sh <ThemeDir> <HexColor>" + return 1; +fi + +echo "Changing Fill color: ${THEME} files to ${COLOR}" +for i in `find ${THEME} | grep svg` +do + echo "Found File ${i}" + sed -i '' "s/ fill=\"#000000\" / fill=\"${COLOR}\" /g" ${i} +done |