13 lines
263 B
Lua
13 lines
263 B
Lua
local handle = io.popen("hostname")
|
|
Hostname = "default"
|
|
|
|
if handle then
|
|
local result = handle:read("*l")
|
|
handle:close()
|
|
if result then
|
|
Hostname = result:gsub("%s+", "") -- "HACKSTATION"
|
|
end
|
|
end
|
|
|
|
pcall(dofile, os.getenv("HYPRLAND_ROOT") .. "/autoload.lua")
|