diff --git a/lua/modules/swaync.lua b/lua/modules/swaync.lua index 3b4ca2a..26cfe1c 100644 --- a/lua/modules/swaync.lua +++ b/lua/modules/swaync.lua @@ -7,7 +7,7 @@ local M = {} local function start_swaync() if settings["systemd"] then local unit = "swaync.service" - local source = CONFIG_HOME .. "hypr/systemd/" .. unit + local source = HYPR .. "/systemd/" .. unit if systemd.ensure_user_unit(unit, source) then hl.exec_cmd("systemctl --user start swaync") diff --git a/lua/modules/swayosd.lua b/lua/modules/swayosd.lua index 00768fa..de6aac8 100644 --- a/lua/modules/swayosd.lua +++ b/lua/modules/swayosd.lua @@ -8,7 +8,7 @@ local M = {} local function start_swayosd() if settings["systemd"] then local unit = "swayosd.service" - local source = CONFIG_HOME .. "hypr/systemd/" .. unit + local source = HYPR .. "/systemd/" .. unit if systemd.ensure_user_unit(unit, source) then hl.exec_cmd("systemctl --user start swayosd")