Update eww/yuck/README.md

This commit is contained in:
Candifloss 2024-08-07 05:24:49 +00:00
parent b88ab224eb
commit 4b2a05c2dd

View File

@ -6,9 +6,12 @@ Yuck is the custom language to config EWW. Refer the [official docs](https://elk
There are 2 ways to specify path while including other `.yuck` files: There are 2 ways to specify path while including other `.yuck` files:
### Absolute path: ### Absolute path:
From `/` From `/`
```yuck
(include "/absolute/path/from/root/to/file.yuck") (include "/absolute/path/from/root/to/file.yuck")
```
### Relative path: ### Relative path:
Relative to `eww` config dir Relative to `eww` config dir
```yuck
(include "path/relative_to/eww_config_dir/file.yuck") (include "path/relative_to/eww_config_dir/file.yuck")
```