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"