update: add ATRI idle config
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user