update: add ATRI idle config
This commit is contained in:
1 parent
626a0fd769
commit
b1534e45c4
2 files changed
+26
-1
No files matched your search
@@ -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