diff --git a/hyprland.lua b/hyprland.lua index 345f36f..4e5b103 100644 --- a/hyprland.lua +++ b/hyprland.lua @@ -14,7 +14,10 @@ end -- Check if the plugin module is present -- If it is, require it -pcall(require, "plugins") +local ok, err = pcall(require, "plugins") +if not ok then + hl.exec_cmd("notify-send 'Lua error' '" .. tostring(err) .. "'") +end -- Import everything else require("autoload")