From 25fe0ab01e8849698df0da4c4ca000807bf5a258 Mon Sep 17 00:00:00 2001 From: Zhengjie Min Date: Wed, 20 May 2026 11:32:13 -0400 Subject: [PATCH 1/3] fix(hyprland): restore nwg-display entry --- dots/.config/hypr/hyprland.lua | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/dots/.config/hypr/hyprland.lua b/dots/.config/hypr/hyprland.lua index 9e87ce3fb..be49ff3db 100644 --- a/dots/.config/hypr/hyprland.lua +++ b/dots/.config/hypr/hyprland.lua @@ -8,7 +8,7 @@ require("hyprland.services") -- Environment variables -- require("hyprland.env") if is_file_exists(HOME .. "/.config/hypr/custom/env.lua") then - require("custom.env") + require("custom.env") end -- Default configurations -- @@ -20,21 +20,21 @@ require("hyprland.keybinds") -- Custom configurations -- if is_file_exists(HOME .. "/.config/hypr/custom/execs.lua") then - require("custom.execs") + require("custom.execs") end if is_file_exists(HOME .. "/.config/hypr/custom/general.lua") then - require("custom.general") + require("custom.general") end if is_file_exists(HOME .. "/.config/hypr/custom/rules.lua") then - require("custom.rules") + require("custom.rules") end if is_file_exists(HOME .. "/.config/hypr/custom/keybinds.lua") then - require("custom.keybinds") + require("custom.keybinds") end --- nwg-displays support: re-add the files if it updates later --- require("workspaces") --- require("monitors") +-- nwg-displays support -- +require("workspaces") +require("monitors") -- Shell overrides -- require("hyprland.shellOverrides.main") From 20d1ff065b1201d5130e994a7df53e2ddfdf6069 Mon Sep 17 00:00:00 2001 From: Zhengjie Min Date: Wed, 20 May 2026 11:38:00 -0400 Subject: [PATCH 2/3] style: space indent --- dots/.config/hypr/hyprland.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dots/.config/hypr/hyprland.lua b/dots/.config/hypr/hyprland.lua index be49ff3db..8f37dd2b5 100644 --- a/dots/.config/hypr/hyprland.lua +++ b/dots/.config/hypr/hyprland.lua @@ -8,7 +8,7 @@ require("hyprland.services") -- Environment variables -- require("hyprland.env") if is_file_exists(HOME .. "/.config/hypr/custom/env.lua") then - require("custom.env") + require("custom.env") end -- Default configurations -- @@ -20,16 +20,16 @@ require("hyprland.keybinds") -- Custom configurations -- if is_file_exists(HOME .. "/.config/hypr/custom/execs.lua") then - require("custom.execs") + require("custom.execs") end if is_file_exists(HOME .. "/.config/hypr/custom/general.lua") then - require("custom.general") + require("custom.general") end if is_file_exists(HOME .. "/.config/hypr/custom/rules.lua") then - require("custom.rules") + require("custom.rules") end if is_file_exists(HOME .. "/.config/hypr/custom/keybinds.lua") then - require("custom.keybinds") + require("custom.keybinds") end -- nwg-displays support -- 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 3/3] 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")