diff --git a/bin/omarchy-setup-dropbox b/bin/omarchy-setup-dropbox index 2c4e692..1bd7f7a 100755 --- a/bin/omarchy-setup-dropbox +++ b/bin/omarchy-setup-dropbox @@ -4,5 +4,12 @@ echo "Installing all dependencies..." yay -S --noconfirm --needed \ dropbox dropbox-cli libappindicator-gtk3 python-gpgme nautilus-dropbox -echo "Starting Dropbox and asking for identification..." -uwsm app -- dropbox start -i &>/dev/null & +echo -e "\nFirst login to Dropbox..." +setsid chromium --new-window --ozone-platform=wayland --app="https://www.dropbox.com/login" >/dev/null 2>&1 & + +if gum confirm "Have you logged into your account yet?"; then + echo "Starting Dropbox and asking for identification..." + uwsm app -- dropbox start -i &>/dev/null & +else + echo "Can't setup Dropbox before you're logged in" +fi