diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/gui.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/gui.lua b/core/gui.lua index a8900345..d2132bc2 100644 --- a/core/gui.lua +++ b/core/gui.lua @@ -19,7 +19,9 @@ local gui = gui -- The text displayed by the buffer statusbar. module('gui')]] -local theme = _HOME..'/themes/'..(not CURSES and 'light' or 'term')..'.lua' +local theme = package.searchpath(not CURSES and 'light' or 'term', + _USERHOME..'/themes/?.lua;'.. + _HOME..'/themes/?.lua') -- Helper function for printing messages to buffers. -- @see gui._print |