Fixup the Dropbox setup flow

This commit is contained in:
David Heinemeier Hansson
2025-07-21 16:05:29 -04:00
parent 6ef2ce0088
commit b21a236bf3

View File

@ -4,5 +4,12 @@ echo "Installing all dependencies..."
yay -S --noconfirm --needed \
dropbox dropbox-cli libappindicator-gtk3 python-gpgme nautilus-dropbox
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