diff --git a/rc.lua b/rc.lua index f66b2d7..5d7aa67 100644 --- a/rc.lua +++ b/rc.lua @@ -181,6 +181,14 @@ client.connect_signal("mouse::enter", function(c) end) -- }}} +-- timer to run Lua garbage collection +-- may not be necessary, but just in case +gears.timer.start_new(60, function() + collectgarbage("step",1024) + return true +end) + +-- run autostart script, either from home folder or system copy if gears.filesystem.file_readable(string.format("%s/.config/awesome-mobile/autostart.sh",os.getenv("HOME"))) then awful.spawn(gears.filesystem.file_readable(string.format("%s/.config/awesome-mobile/autostart.sh",os.getenv("HOME")))) else