add documentation about using environment variables in config file

This commit is contained in:
zapashcanon 2024-12-29 19:16:24 +01:00
parent b927b63d12
commit fb9471a895
Signed by: zapashcanon
GPG Key ID: 8981C3C62D1D28F1

View File

@ -34,9 +34,16 @@ By default, the [XDG Base Directory Specification] and [xdg-user-dirs] are used
You can overwrite this by writing a configuration file for `sun` in `${XDG_CONFIG_HOME:-~/.config}/sun/config.scfg` with the following content:
```scfg
```scfg
output_dir /home/winniethepooh/screenshots
```
```
You can use environment variables this way:
```scfg
output_dir $(HOME)/screenshots
```
## About