Add note about Flatpak for config files
This commit is contained in:
parent
c64179fcbd
commit
efbcec51ad
13
README.md
13
README.md
|
@ -62,11 +62,15 @@ See [INSTALL.md](INSTALL.md)
|
||||||
The config file can be found at *$XDG_CONFIG_HOME/mirage/settings.json*,
|
The config file can be found at *$XDG_CONFIG_HOME/mirage/settings.json*,
|
||||||
or *~/.config/mirage/settings.json*.
|
or *~/.config/mirage/settings.json*.
|
||||||
|
|
||||||
|
For Flatpak users, this will be
|
||||||
|
*~/.var/app/io.github.mirukana.mirage/config/mirage* instead.
|
||||||
|
|
||||||
The `theme` setting can be:
|
The `theme` setting can be:
|
||||||
|
|
||||||
- The name of a built-in theme (`Midnight` or `Glass`)
|
- The name of a built-in theme (`Midnight` or `Glass`)
|
||||||
- The filename without extension of a custom theme at
|
- The filename without extension of a custom theme at
|
||||||
*$XDG_DATA_HOME/mirage/themes*, or *~/.local/share/mirage/themes*
|
*$XDG_DATA_HOME/mirage/themes*, *~/.local/share/mirage/themes*,
|
||||||
|
or *~/.var/app/io.github.mirukana.mirage/data/mirage/themes* (Flatpak)
|
||||||
|
|
||||||
A default theme from this repository can be copied to use as a base and edit,
|
A default theme from this repository can be copied to use as a base and edit,
|
||||||
for example:
|
for example:
|
||||||
|
@ -76,6 +80,13 @@ for example:
|
||||||
"${XDG_DATA_HOME:-$HOME/.local/share}/mirage/themes/MyTheme.qpl"
|
"${XDG_DATA_HOME:-$HOME/.local/share}/mirage/themes/MyTheme.qpl"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Or for Flatpak users:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
cp mirage/src/themes/Midnight.qpl \
|
||||||
|
~/.var/app/io.github.mirukana.mirage/data/mirage/themes/MyTheme.qpl
|
||||||
|
```
|
||||||
|
|
||||||
The config setting `theme` would need to be set to `MyTheme` in this case.
|
The config setting `theme` would need to be set to `MyTheme` in this case.
|
||||||
|
|
||||||
Theme files are nested-by-indentations sections of properties and values.
|
Theme files are nested-by-indentations sections of properties and values.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user