From 9a5f8e72d0f34d6dca83b4fc41612fc97df6c1c9 Mon Sep 17 00:00:00 2001 From: Guldoman Date: Mon, 18 Apr 2022 21:14:50 +0200 Subject: [PATCH] Add `DATADIR` and `USERDIR` explanation in created user module --- data/core/init.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/data/core/init.lua b/data/core/init.lua index 75534073..5eab80e6 100644 --- a/data/core/init.lua +++ b/data/core/init.lua @@ -469,6 +469,10 @@ local style = require "core.style" -- style.font = renderer.font.load(DATADIR .. "/fonts/FiraSans-Regular.ttf", 14 * SCALE) -- style.code_font = renderer.font.load(DATADIR .. "/fonts/JetBrainsMono-Regular.ttf", 14 * SCALE) -- +-- DATADIR is the location of the installed Lite XL Lua code, default color +-- schemes and fonts. +-- USERDIR is the location of the Lite XL configuration directory. +-- -- font names used by lite: -- style.font : user interface -- style.big_font : big text in welcome screen