diff options
Diffstat (limited to 'config/hypr/configs/system_laptops.lua')
| -rw-r--r-- | config/hypr/configs/system_laptops.lua | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/config/hypr/configs/system_laptops.lua b/config/hypr/configs/system_laptops.lua new file mode 100644 index 00000000..ebcd288d --- /dev/null +++ b/config/hypr/configs/system_laptops.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 laptop rules for the Lua workflow. +-- Loaded by user_overrides.lua on every Hyprland session start. +-- Delegates to lua/laptops.lua which contains the canonical laptop rules. + +local configHome = os.getenv("XDG_CONFIG_HOME") or ((os.getenv("HOME") or "") .. "/.config") +local hyprDir = configHome .. "/hypr" +local laptops_path = hyprDir .. "/lua/laptops.lua" +local ok, err = pcall(dofile, laptops_path) +if not ok then + print("[ERROR] system_laptops: failed to load lua/laptops.lua: " .. tostring(err)) +end |
