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