Updated install.sh

This commit is contained in:
Ethan Smith-Coss 2024-11-17 11:42:22 +00:00
parent 1e7fa6205b
commit 0870f0f18e
Signed by: TheOnePath
GPG Key ID: 1D351CCC6D01F32B

View File

@ -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"