diff --git a/install.sh b/install.sh index 6d2a1ad..ee79065 100644 --- a/install.sh +++ b/install.sh @@ -31,11 +31,13 @@ chown -R "$user:$user" "$HYPRSOLUS_PATH" echo "(hyprsolus) Moving additional scripts to system." [[ ! -d "$HYPRSOLUSCTL_PATH" ]] && mkdir -p "$HYPRSOLUSCTL_PATH" cp -u "${HYPRSOLUS_PATH}/hyprsolusctl" "$HYPRSOLUSCTL_PATH" + # Make the file executable chmod +x "${HYPRSOLUS_PATH}/hyprsolusctl" chown root:root "${HYPRSOLUS_PATH}/hyprsolusctl" cp -ru "${HYPRSOLUS_PATH}/systemd" "$HYPRSOLUS_SYSTEMD" +chown -R "$user:$user" "$HYPRSOLUS_SYSTEMD/systemd" echo "(hyprsolus) Setting up systemd units." systemctl --user -M "$user"@ enable --now \ "${HYPRSOLUS_SYSTEMD}/systemd/user/hyprsolus-check.timer"