fix: fix systemd unit
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user