update: add ATRI idle config

This commit is contained in:
wyj
2026-06-29 06:01:51 -04:00
parent 626a0fd769
commit b1534e45c4
2 changed files with 26 additions and 1 deletions
+6 -1
View File
@@ -1,7 +1,12 @@
local settings=require("lua.lib.settings")
local M = {}
local function start_hypridle()
hl.exec_cmd("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 = {