Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require("awful")
- require("awful.autofocus")
- require("awful.rules")
- require("naughty")
- local rc, err = loadfile(awful.util.getdir("config").."/awesome.lua");
- if rc then
- rc, err = pcall(rc);
- if rc then
- return;
- end
- end
- dofile("/etc/xdg/awesome/rc.lua");
- for s = 1,screen.count() do
- mypromptbox[s].text = awful.util.escape(err:match("[^\n]*"));
- end
- local f = io.open(os.getenv("HOME").."/awesome.err", "w+")
- f:write(os.date("%d.%m.%Y %T: ")..err.."\n")
- f:close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement