Closed nponsard closed 4 years ago
I have reworked a bit the system so it downloads the files if not found locally and you can use the script to add themes locally with the parameters --download <github_user>/<repo_name>/<branch>
.
I made a template repo to explain how to use it : https://github.com/NilsPonsard/Omega-theme-template
Thank you for your PR, but I rewrote it to load themes from git repos (#27). Thus, this should be closed.
If the file/folder is not found,
theme_manager.py
will try to download the icons from github. The given icon path need to point to the folder containing the icons. This path needs to correspond to the path of the folder in "download mode" (when you click download in the interface of Github).For example with my theme the complete url would be
https://raw.githubusercontent.com/NilsPonsard/Omega-Themes/master/icons/omega_nord/
but you only need the part afterhttps://raw.githubusercontent.com/
so the path in thetheme.json
file isI don’t know if my explanation is clear, if not, feel free to ask details
I added the ability to download a theme file from a github repo as explained here : https://github.com/NilsPonsard/Omega-theme-template