17 lines
305 B
Lua
17 lines
305 B
Lua
local settings=require("lua.lib.settings")
|
|
local M = {}
|
|
|
|
local function start_hypridle()
|
|
if string.sub(settings["hostname"], 1, 4) == "ATRI" then
|
|
hl.exec_cmd("hypridle -c ~/.config/hypr/hypridle-ATRI.conf")
|
|
else
|
|
hl.exec_cmd("hypridle")
|
|
end
|
|
end
|
|
|
|
M.autostart = {
|
|
start_hypridle,
|
|
}
|
|
|
|
return M
|