fix: fix systemd unit
This commit is contained in:
@@ -7,7 +7,7 @@ local M = {}
|
|||||||
local function start_swaync()
|
local function start_swaync()
|
||||||
if settings["systemd"] then
|
if settings["systemd"] then
|
||||||
local unit = "swaync.service"
|
local unit = "swaync.service"
|
||||||
local source = CONFIG_HOME .. "hypr/systemd/" .. unit
|
local source = HYPR .. "/systemd/" .. unit
|
||||||
|
|
||||||
if systemd.ensure_user_unit(unit, source) then
|
if systemd.ensure_user_unit(unit, source) then
|
||||||
hl.exec_cmd("systemctl --user start swaync")
|
hl.exec_cmd("systemctl --user start swaync")
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ local M = {}
|
|||||||
local function start_swayosd()
|
local function start_swayosd()
|
||||||
if settings["systemd"] then
|
if settings["systemd"] then
|
||||||
local unit = "swayosd.service"
|
local unit = "swayosd.service"
|
||||||
local source = CONFIG_HOME .. "hypr/systemd/" .. unit
|
local source = HYPR .. "/systemd/" .. unit
|
||||||
|
|
||||||
if systemd.ensure_user_unit(unit, source) then
|
if systemd.ensure_user_unit(unit, source) then
|
||||||
hl.exec_cmd("systemctl --user start swayosd")
|
hl.exec_cmd("systemctl --user start swayosd")
|
||||||
|
|||||||
Reference in New Issue
Block a user