first pass of hyprland config

This commit is contained in:
2026-10-23 16:17:23 -06:00
parent 2f656c4a9e
commit 2a737ed6df
39 changed files with 1334 additions and 52 deletions
@@ -0,0 +1,18 @@
local dotwryn = ... -- ../config.lua
---------------------------------------------------------------------
local hostnamectl = io.popen("hostnamectl --static")
local HOSTNAME = hostnamectl:read("l")
hostnamectl:close()
local dofile_if_exists = function(path)
local file = io.open(path, "r")
if file == nil then return end
file:close()
dofile(path)
end
------------------------------------------
dofile_if_exists(dotwryn.DOTWRYN .. "/config/local/" .. HOSTNAME .. "/user/hypr/host.lua")
dofile_if_exists((os.getenv("XDG_CONFIG_HOME") or (os.getenv("HOME") .. "/.config")) .. "/hypr/local.lua")