diff options
Diffstat (limited to 'modules/awesome/config.dot/awesome.link/functions.lua')
-rw-r--r-- | modules/awesome/config.dot/awesome.link/functions.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/awesome/config.dot/awesome.link/functions.lua b/modules/awesome/config.dot/awesome.link/functions.lua new file mode 100644 index 0000000..aa98502 --- /dev/null +++ b/modules/awesome/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 |