diff --git a/themer.lua b/themer.lua index f492d1f..f40f20f 100755 --- a/themer.lua +++ b/themer.lua @@ -26,7 +26,7 @@ local status = os.execute("mkdir -p ~/.cache/themer.lua/") if not (status == 0) then return status end function save_config(name, template, params) - local file, err = io.open("/home/diablo/.cache/themer.lua/"..name, "w+") + local file, err = io.open(os.getenv("HOME").."/.cache/themer.lua/"..name, "w+") if not file then expect_nil(err) end file:write(templater(template, params)) file:close()