From bc3513f9dab86998f0a2d8bc8f0092326443d392 Mon Sep 17 00:00:00 2001 From: Don Williams Date: Tue, 18 Aug 2026 09:56:26 -0400 Subject: ENV variables not set in LUA workflow Signed-off-by: Don Williams On branch development Your branch is up to date with 'origin/development'. Changes to be committed: modified: CHANGELOG.md new file: config/hypr/configs/system_env.lua new file: config/hypr/configs/system_laptops.lua new file: config/hypr/configs/system_settings.lua new file: config/hypr/configs/system_window_rules.lua --- config/hypr/configs/system_env.lua | 17 +++++++++++++++++ config/hypr/configs/system_laptops.lua | 17 +++++++++++++++++ config/hypr/configs/system_settings.lua | 17 +++++++++++++++++ config/hypr/configs/system_window_rules.lua | 17 +++++++++++++++++ 4 files changed, 68 insertions(+) create mode 100644 config/hypr/configs/system_env.lua create mode 100644 config/hypr/configs/system_laptops.lua create mode 100644 config/hypr/configs/system_settings.lua create mode 100644 config/hypr/configs/system_window_rules.lua (limited to 'config/hypr') 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 -- cgit v1.2.3