From 54a1d172d7b0906fa8a97096faaa7f9f0ab065d4 Mon Sep 17 00:00:00 2001 From: Minh <97237370+end-4@users.noreply.github.com> Date: Sun, 24 May 2026 22:55:17 +0200 Subject: [PATCH] add file existence check for nwg displays include --- dots/.config/hypr/hyprland.lua | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/dots/.config/hypr/hyprland.lua b/dots/.config/hypr/hyprland.lua index 8f37dd2b5..3e54e8e3d 100644 --- a/dots/.config/hypr/hyprland.lua +++ b/dots/.config/hypr/hyprland.lua @@ -33,8 +33,12 @@ if is_file_exists(HOME .. "/.config/hypr/custom/keybinds.lua") then end -- nwg-displays support -- -require("workspaces") -require("monitors") +if is_file_exists(HOME .. "/.config/hypr/workspaces.lua") then + require("workspaces") +end +if is_file_exists(HOME .. "/.config/hypr/monitors.lua") then + require("monitors") +end -- Shell overrides -- require("hyprland.shellOverrides.main")