From 4b2a05c2ddcdf465719a9c13bfca52df20ebf61c Mon Sep 17 00:00:00 2001 From: Candifloss Date: Wed, 7 Aug 2024 05:24:49 +0000 Subject: [PATCH] Update eww/yuck/README.md --- eww/yuck/README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/eww/yuck/README.md b/eww/yuck/README.md index d28906b..bcd2c3a 100644 --- a/eww/yuck/README.md +++ b/eww/yuck/README.md @@ -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: ### Absolute path: From `/` +```yuck +(include "/absolute/path/from/root/to/file.yuck") +``` - (include "/absolute/path/from/root/to/file.yuck") ### Relative path: Relative to `eww` config dir - - (include "path/relative_to/eww_config_dir/file.yuck") \ No newline at end of file +```yuck +(include "path/relative_to/eww_config_dir/file.yuck") +``` \ No newline at end of file