4

using lua scripts in conky

view full story
linux-howto

http://crunchbanglinux.org – Using Lua scripts in conkythis how to is based on what i know... not what is known :DPART 1 how does a lua script work?in conky there are several lua related settings and objectsprimarily for using lua script there are 2 settingslua_load lua_draw_hookthat come before TEXTlua_load is where you give conky the location of the script to useeglua_load /home/username/scripts/script.luaso that one is pretty easy to understandthe second linelua_draw_hook (can be lua_draw_hook_pre or lua_draw_hook_post)tells conky which function to run from the lua script that was loaded.This takes a little more explan (HowTos)