local n = require("naughty").notification ---@class Quarrel local quarrel = {} --- Send a notification with the specified message ---@param message any function quarrel.debug(message) n { message = tostring(message) } end --- Check if there was a restart ---@return boolean function quarrel.is_restart() awesome.register_xproperty("is_restart", "boolean") local restart_detected = awesome.get_xproperty "is_restart" ~= nil awesome.set_xproperty("is_restart", true) return restart_detected end return quarrel