aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/configs/system_window_rules.lua
diff options
context:
space:
mode:
Diffstat (limited to 'config/hypr/configs/system_window_rules.lua')
-rw-r--r--config/hypr/configs/system_window_rules.lua17
1 files changed, 17 insertions, 0 deletions
diff --git a/config/hypr/configs/system_window_rules.lua b/config/hypr/configs/system_window_rules.lua
new file mode 100644
index 00000000..ddd94295
--- /dev/null
+++ b/config/hypr/configs/system_window_rules.lua
@@ -0,0 +1,17 @@
+-- ==================================================
+-- KoolDots (2026)
+-- Project URL: https://github.com/LinuxBeginnings
+-- License: GNU GPLv3
+-- SPDX-License-Identifier: GPL-3.0-or-later
+-- ==================================================
+-- System window rules for the Lua workflow.
+-- Loaded by user_overrides.lua on every Hyprland session start.
+-- Delegates to lua/window_rules.lua which contains the canonical window rules.
+
+local configHome = os.getenv("XDG_CONFIG_HOME") or ((os.getenv("HOME") or "") .. "/.config")
+local hyprDir = configHome .. "/hypr"
+local window_rules_path = hyprDir .. "/lua/window_rules.lua"
+local ok, err = pcall(dofile, window_rules_path)
+if not ok then
+ print("[ERROR] system_window_rules: failed to load lua/window_rules.lua: " .. tostring(err))
+end
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage