~kris/dots

srice

ref: 512b7381d0155d6247fad64b640b0704496a8035 srice/.config/conky/lean-conky/main.lua -rw-r--r-- 473 bytes
512b7381 — Kris Yotam mksh: port bashisms to mksh-safe (process subs, DEBUG-trap history hook, direnv, cd- alias) 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
local _dir_ = debug.getinfo(1, "S").source:sub(2):match("(.*[/\\])") or "./"
if not string.find(package.path, _dir_ .. "lib/?.lua;", 1, true) then
    package.path = _dir_ .. "lib/?.lua;" .. _dir_ .. "lib/?/init.lua;" .. package.path
end
local utils = require("utils")

-- load conky and lcc settings, lcc is globally accessible
local conf = utils.load_in_env(conky_config)
-- global functions defined in the required packages (components, tform) are
-- also available now