aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md1
-rw-r--r--config/hypr/configs/system_env.lua17
-rw-r--r--config/hypr/configs/system_laptops.lua17
-rw-r--r--config/hypr/configs/system_settings.lua17
-rw-r--r--config/hypr/configs/system_window_rules.lua17
5 files changed, 69 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index ee8496d9..34836f0d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -40,6 +40,7 @@
## Fixed:
+- ENV variables not set in LUA workflow
- Logout session not working in LUA workflow
- `togglesplit` in LUA workflow
- Waybar doesn't restart after Dark/Light theme in Debian
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
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage