A Python script that generates a Theme.HC (HolyC) file, based on the generated pywal colors, that can be used in TempleOS, so that it matches your desktop's colors/aesthetics.
![]() |
![]() |
|---|
After installing and running pywal (wal -i /path/to/img), run the python script:
python3 generate_theme.py [--mode dark|light]You can specify the mode to generate a dark or light theme. If no mode is specified, it will default to dark. The script will generate a Theme.HC file in the current directory, which you can then load in TempleOS.
To load the theme in TempleOS, you must:
- Mount the C drive partition of your TempleOS installation.
- Copy the
Theme.HCfile to theC:/Home/directory. - Make this theme load on boot, by adding the line
#include "~/Theme.HC"into yourC:/Home/HomeSys.HCfile. (Optional)
All of this loading process can be automated by running the update.sh script:
./update.sh <templeos-image> <mount-point>Be sure to replace <templeos-image> with the path to your TempleOS image file and <mount-point> with the directory where you want to mount the image.
And just as a warning, this process may vary depending on your TempleOs installation and virtualization method, so, please, be sure to read the update.sh before running it and adapt it to your needs.


