Add `DATADIR` and `USERDIR` explanation in created user module

This commit is contained in:
Guldoman 2022-04-18 21:14:50 +02:00
parent 5453a27f91
commit 9a5f8e72d0
No known key found for this signature in database
GPG Key ID: C08A498EC7F1AFDD
1 changed files with 4 additions and 0 deletions

View File

@ -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