#!/bin/bash RICE_AWESOME_PATH=$RICE_DIR_CONFIG/awesome RICE_AWESOME_DIR_CONFIG=$RICE_AWESOME_PATH/config mkdir -p $RICE_AWESOME_PATH mkdir -p $RICE_AWESOME_DIR_CONFIG echo "-- $RICE_GENERATED_HEADER -- 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 (\"$RICE_AWESOME_PATH/themp.lua\") " > $RICE_AWESOME_PATH/rc.lua