diff --git a/scripts/Common/Software/rclone/main.fish b/scripts/Common/Software/rclone/main.fish index 384d3308..f2379e59 100755 --- a/scripts/Common/Software/rclone/main.fish +++ b/scripts/Common/Software/rclone/main.fish @@ -35,7 +35,10 @@ begin sudo -Eu "$name" dbus-launch --exit-with-session startplasma-wayland &> /dev/null rm "$entryPoint" rm ~"$name"/.config/plasma-welcomerc + else if [ -n "$name" ] && [ "$name" != "$USER" ] + sudo -Eu "$name" CONFIG_MODULE="$CONFIG_MODULE" fish "$(status filename)" userConfig else + systemctl --user enable rclone.service echo "Please complete the setup of your rclone configurations!" for config in (echo "$configs" | jq '.[]' --raw-output0 | string split0)