Theming

A default theme from this repository can be copied to use as a base and edit, for example:

    cp mirage/src/themes/Midnight.qpl \
       "${XDG_DATA_HOME:-$HOME/.local/share}/mirage/themes/MyTheme.qpl"

Or for Flatpak users:

    cp mirage/src/themes/Midnight.qpl \
       ~/.var/app/io.github.mirukana.mirage/data/mirage/themes/MyTheme.qpl

The theme property in settings.py would need to be set to MyTheme.qpl in this case.

Theme files are nested-by-indentations sections of properties and values.
Properties are declared as <type> <name>: <value>.
Values can be any JavaScript (ECMAScript 7) expressions.

Most of the properties are of type color. Their values, if not just refering to another property, can be expressed with a:

If you just want to change the background picture, or use a gradient/simple color instead, search for the ui: section in your text editor.

When an in-use theme file is saved while the application is running, it will automatically be reloaded and changes will be seen immediatly.

You can manually trigger a reload by updating the file's last change timestamp, e.g. with the touch command:

touch ~/.config/mirage/settings.py

Warnings: