Dotfiles/awesome/rc.lua

34 lines
1 KiB
Lua
Raw Normal View History

2023-02-03 18:12:16 +00:00
-- This File is Automaticly Generated. Changes inside of this won't persist. For more Information Look into /home/snoweuph/.config/rice-bowl
-- Check if Lua Roocks, aka Import lib is installed
pcall(require, "luarocks.loader")
-- Require Libs
local naughty = require("naughty")
-- Check For Errors, fallback if found any
if awesome.startup_errors then
naughty.notify({ preset = naughty.config.presets.critical,
title = "Oops, there were errors during startup!",
text = awesome.startup_errors })
end
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 = tostring(err) })
in_error = false
end)
end
-- Import Themp Lua File
dofile ("/home/snoweuph/.config/awesome/themp.lua")