diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-12-27 15:09:22 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-12-27 15:09:22 -0200 |
commit | a3ff98282e6290f2bbb907bbbb63daee6798872a (patch) | |
tree | 8f9311237c84878130d80db58bb1054499e7440e /config.dot/awesome.link/functions.lua | |
download | awesome-a3ff98282e6290f2bbb907bbbb63daee6798872a.tar.gz awesome-a3ff98282e6290f2bbb907bbbb63daee6798872a.tar.bz2 |
Initial import
Diffstat (limited to 'config.dot/awesome.link/functions.lua')
-rw-r--r-- | config.dot/awesome.link/functions.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config.dot/awesome.link/functions.lua b/config.dot/awesome.link/functions.lua new file mode 100644 index 0000000..aa98502 --- /dev/null +++ b/config.dot/awesome.link/functions.lua @@ -0,0 +1,4 @@ +function file_exists(name) + local f=io.open(name,"r") + if f~=nil then io.close(f) return true else return false end +end |