aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/configs/system_env.lua
blob: e130d47d72eee8b9660108028d26e448198305b8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage