From b316a184646c75d9e6d6e96577084374ca5a8b5b Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Thu, 28 May 2026 02:49:14 -0400 Subject: [PATCH] update: add hypridle module --- lua/lib/settings.lua | 1 + lua/modules/hypridle.lua | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 lua/modules/hypridle.lua diff --git a/lua/lib/settings.lua b/lua/lib/settings.lua index 0b91586..41557a5 100644 --- a/lua/lib/settings.lua +++ b/lua/lib/settings.lua @@ -14,6 +14,7 @@ settings["systemd"] = false ---@type table settings["modules"] = { + hypridle = true, waybar = true, swaync = true, swayosd = true, diff --git a/lua/modules/hypridle.lua b/lua/modules/hypridle.lua new file mode 100644 index 0000000..7766266 --- /dev/null +++ b/lua/modules/hypridle.lua @@ -0,0 +1,11 @@ +local M = {} + +local function start_hypridle() + hl.exec_cmd("hypridle") +end + +M.autostart = { + start_hypridle, +} + +return M