refactor: reorganize theme manager, allow set default theme + default virtual keyboard layout via envar

This commit is contained in:
DL
2025-06-16 11:47:51 +02:00
parent 224252807a
commit 7dab18e121
4 changed files with 64 additions and 6 deletions

View File

@@ -1,3 +1,18 @@
# diya-shell
Wayland shell for diyac wayland compositor
Wayland shell for diyac wayland compositor
# Environment variables
## Theme
Default theme can be set using the envar `DIYA_DEFAULT_THEME`, this will cause the shell searching for CSS file theme in
`/home/$USER/.config/diya/themes/`:
* diya-shell: will looking for file: `dev.iohub.diya.session-shell.css`
* diya-login-shell: will looking for file: `dev.iohub.diya.login-shell.css`
# Virtual keyboard layout
Default virtual keyboard keymap can be set via the `DIYA_VKB_KEYMAP` environment variable. When created virtual keyboard,
the shell will search for keymap file in: `/home/$USER/.config/diya/xkb/${DIYA_VKB_KEYMAP}.keymap`