-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support setting shared data via XDG_DATA_DIRS and XDG_DATA_HOME
In this PR, fcitx5-rime detect shared data using following logic: If fcitx5-rime can find `rime-data/default.yaml` in `$XDG_DATA_HOME` or `$XDG_DATA_DIRS` (using `fcitx::fs::StandardPath::scanDirectories`), it will use it . Otherwise, it use `RIME_DATA_DIR` specified during build time as fallback.
- Loading branch information
Showing
1 changed file
with
45 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters