From f9391030c54fd232893629afc7ef4316669cabe0 Mon Sep 17 00:00:00 2001 From: TheOnePath Date: Wed, 9 Oct 2024 18:04:19 +0100 Subject: [PATCH] Updated install.sh Fixed systemctl command --- install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 0aa9e7e..c39de51 100644 --- a/install.sh +++ b/install.sh @@ -33,7 +33,8 @@ sudo chown root:root "${HYPRSOLUS_PATH}/hyprsolusctl" sudo cp -ru "${HYPRSOLUS_PATH}/systemd" "$HYPRSOLUS_SYSTEMD" echo "(hyprsolus) Setting up systemd units." -systemctl enable --now --user "${HYPRSOLUS_SYSTEMD}/hyprsolus-check.timer" +systemctl --user -M "$USER"@ enable --now \ + "${HYPRSOLUS_SYSTEMD}/hyprsolus-check.timer" echo "(hyprsolus) Installing the dependencies to system." sudo sh "${HYPRSOLUS_PATH}/requirements.sh"