From 3b97b22f1080f81dc58a5803ac07fe3c96fd31da Mon Sep 17 00:00:00 2001 From: sammyette <38820196+TorchedSammy@users.noreply.github.com> Date: Sat, 16 Oct 2021 13:50:59 -0400 Subject: [PATCH] feat: add hilbish.dataDir var --- hilbish.go | 1 + 1 file changed, 1 insertion(+) diff --git a/hilbish.go b/hilbish.go index 58a7887..a8b9a1a 100644 --- a/hilbish.go +++ b/hilbish.go @@ -33,6 +33,7 @@ func HilbishLoader(L *lua.LState) int { setField(L, mod, "user", lua.LString(username), "Current user's username") setField(L, mod, "host", lua.LString(host), "Hostname of the system") setField(L, mod, "home", lua.LString(homedir), "Path of home directory") + setField(L, mod, "dataDir", lua.LString(dataDir), "Path of Hilbish's data files") xdg := L.NewTable() setField(L, xdg, "config", lua.LString(confDir), "XDG config directory")