diff options
| author | Don Williams <don.e.williams@gmail.com> | 2026-08-18 09:56:26 -0400 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2026-08-29 21:41:34 -0700 |
| commit | bc3513f9dab86998f0a2d8bc8f0092326443d392 (patch) | |
| tree | d402c0634645acd7516582cb5a54673794078243 /config/hypr/configs | |
| parent | d547b41873398d5c471104f7fdf7748232268cf8 (diff) | |
ENV variables not set in LUA workflow
Signed-off-by: Don Williams <don.e.williams@gmail.com>
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
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 |
