get rid of silly env var

This commit is contained in:
petrucci4prez 2017-12-10 18:15:19 -05:00
parent dd0a23815b
commit 04c3b0df40
2 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@ conky.config = {
no_buffers = true,
--Lua Load
lua_load = '/home/ndwar_9355/.local/share/conky/main.lua',
lua_load = '~/.local/share/conky/main.lua',
lua_draw_hook_pre = 'main'
}

View File

@ -57,7 +57,6 @@ Var names:
- CapCamalCase
- var name is exactly the same as module name
--]]
local UPDATE_FREQUENCY = 1 --Hz
_G_INIT_DATA_ = {
@ -74,7 +73,8 @@ _G_INIT_DATA_ = {
SIDE_HEIGHT = 1020,
CENTER_HEIGHT = 220,
ABS_PATH = os.getenv('CONKY_LUA_HOME')
-- silly hack, the price of a litewait language
ABS_PATH = debug.getinfo(1).source:match("@?(.*/)")
}
_G_INIT_DATA_.CENTER_LEFT_X = _G_INIT_DATA_.LEFT_X + _G_INIT_DATA_.SECTION_WIDTH + _G_INIT_DATA_.PANEL_MARGIN_X * 2 + _G_INIT_DATA_.PANEL_HORZ_SPACING