Files
omarchy/bin/omarchy-setup-dropbox

16 lines
531 B
Plaintext
Raw Normal View History

2025-07-20 21:51:46 -05:00
#!/bin/bash
echo "Installing all dependencies..."
yay -S --noconfirm --needed \
dropbox dropbox-cli libappindicator-gtk3 python-gpgme nautilus-dropbox
2025-07-21 16:05:29 -04:00
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