[api] refactoring: custom themes dir for root user is now /usr/share/bauh/themes

This commit is contained in:
Vinicius Moreira
2021-11-25 15:57:59 -03:00
parent 985657987f
commit 25c9ed9fa3
4 changed files with 5 additions and 4 deletions

View File

@@ -416,7 +416,7 @@ boot:
#### <a name="custom_themes">Custom themes</a>
- Custom themes can be provided by adding their files at `~/.local/share/bauh/themes` (sub-folders are allowed).
- Custom themes can be provided by adding their files at `~/.local/share/bauh/themes` (or `/usr/share/bauh/themes` for **root**). Sub-folders are allowed.
- Themes are composed by 2 required and 1 optional files sharing the same name:
- `my_theme.qss`: file with the qss rules. Full example: [light.qss](https://github.com/vinifmor/bauh/blob/master/bauh/view/resources/style/light/light.qss)
- `my_theme.meta`: file defining the theme's data. Full example: [light.meta](https://github.com/vinifmor/bauh/blob/master/bauh/view/resources/style/light/light.meta)