1
0
Fork 0
mirror of https://github.com/kastdeur/dotfiles.git synced 2025-06-18 05:06:38 +02:00

Updated mainprofile, removed autoindent in vim. Set up awesome.lua with xinitrc. See if it works

This commit is contained in:
Eric-Teunis de Boone 2016-10-06 03:21:13 +02:00
parent 3bbb4d6c9a
commit cc8ca493c8
15 changed files with 600 additions and 507 deletions

27
awesome/error.lua Normal file
View file

@ -0,0 +1,27 @@
-- Awesome Window Manager
-- Error handling
-- {{{ Error handling
-- Check if awesome encountered an error during startup and fell back to
-- another config (This code will only ever execute for the fallback config)
if awesome.startup_errors then
naughty.notify({ preset = naughty.config.presets.critical,
title = "Oops, there were errors during startup!",
text = awesome.startup_errors })
end
-- Handle runtime errors after startup
do
local in_error = false
awesome.connect_signal("debug::error", function (err)
-- Make sure we don't go into an endless error loop
if in_error then return end
in_error = true
naughty.notify({ preset = naughty.config.presets.critical,
title = "Oops, an error happened!",
text = err })
in_error = false
end)
end
-- }}}