-
Notifications
You must be signed in to change notification settings - Fork 32
Tools
Gustavo Reis edited this page Apr 16, 2019
·
4 revisions
-
alternative-icon.sh
– allows you to change the alternaive icon; -
build_color_folders.sh
– generates new folders colours; -
build_gradient_folders.sh
– replaces the gradient of folders:- The default folder is
folder-discodingo
; - Remember to copy the folder
discodingo
from the folderfolders
at this repoistory to a new safe folder. Inside the safe folder, you can replace the gradient colours; - After it, use KRename to rename the
discodingo
with your new name. Some icons will be broken, but you can fix it, using the command in the terminal:rename -s 'discodingo' -- 'your_new_name' *.svg
;
- The default folder is
-
ffsvg.sh PATH...
– finds, fixes and cleans SVG files; -
_clean_attrs.sed
– removes unused attributes and removes attributes with default values from elements inside SVG files (part offfsvg.sh
) -
_clean_style_attr.sed
– removes unused properties and removes properties with default values from style attributes inside SVG files (part offfsvg.sh
) -
_fix_color_scheme.sh FILE...
– looks in the SVG files for certain colors and replaces them with the corresponding stylesheet class. Fixes a color scheme after Inkscape (part offfsvg.sh
) -
_scour.sh FILE...
– Scour wrapper (part offfsvg.sh
) -
_svgo.yml
– SVGO configuration (part offfsvg.sh
)
Optimize and fix SVG files that are added or modified but not committed (recommended)
git status --porcelain | awk '/A|M/{print $2}' | xargs ./tools/ffsvg.sh
Optimize and fix SVG files that are committed in 043906b
git show --name-only 043906b | xargs ./tools/ffsvg.sh
- CC BY-SA/GPL3 © 2018-2019 Suru Icons by Sam Hewitt.
- GPL3 © 2018-2019 Suru++ Ubuntu by Andrea Bonanni and Gustavo Costa.
- GPL3 © 2018-2019 Suru++ 25 by Gustavo Costa.
- GPL3 © Papirus by Alexey Varfolomeev.
- GPL3 © Numix by Numix Team.
- GPL3/MIT © 2015-2019 La Capitaine by Keefer Rourke.
- MIT © Icons 8 by Gravit Designer1
- MIT © Twemoji by Twitter Team.
1 Gravit Designer has a special agreement with Icons 8 and allows the Pro user of Gravit Designer to use any icon without attribution and to sub-licence under an open source licence. See the topic here.
- Installation
- Tutorials
- Known bugs
- Report
- Tools
- Contributing
- Authors and Contributors
- Changelog
- Credits and Licences