This repository has been archived on 2021-04-06. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/home/.config/awesome/utils.lua

13 lines
225 B
Lua

local utils = {}
function utils.file_exists(name)
local f=io.open(name,"r")
if f~=nil then io.close(f) return true else return false end
end
function utils.home()
return os.getenv("HOME") .. "/"
end
return utils