commit fe9c070086b5fd5abf90e878f338386855f57eca
parent 295932c4d57612863de2c3943d1856247ccfa1d0
Author: Tomas Nemec <nemi@skaut.cz>
Date: Mon, 9 Aug 2021 09:06:19 +0200
fix(print_status): status dir points to bad directory
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/print_status.lua b/tools/print_status.lua
@@ -15,7 +15,7 @@
-- To get only single trun, add `name` as argument.
--
-- Config
-local status_dir_def = os.getenv('XDG_CONFIG_HOME') .. '/trun'
+local status_dir_def = os.getenv('XDG_CACHE_HOME') .. '/trun'
local status_dir = os.getenv('TRUN_STATUS_DIR') or status_dir_def
-- map status to foreground colors.
local status_map = {[0] = 'ffa500', [1] = '00ff00', [-1] = 'ff0000'}