Updated install.sh
This commit is contained in:
parent
1e7fa6205b
commit
0870f0f18e
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user