mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 12:19:24 +00:00
Move Dropbox to a setup script
This commit is contained in:
@ -105,8 +105,9 @@ remove_theme_prompt() {
|
||||
|
||||
setup_menu() {
|
||||
show_ascii_art
|
||||
local menu=("Add fingerprint sensor" "Remove fingerprint sensor" "Add Fido2 device" "Remove Fido2 device" "Back")
|
||||
local menu=("Dropbox" "Add fingerprint sensor" "Remove fingerprint sensor" "Add Fido2 device" "Remove Fido2 device" "Back")
|
||||
local commands=(
|
||||
"omarchy-setup-dropbox"
|
||||
"omarchy-setup-fingerprint"
|
||||
"omarchy-setup-fingerprint --remove"
|
||||
"omarchy-setup-fido2"
|
||||
|
8
bin/omarchy-setup-dropbox
Executable file
8
bin/omarchy-setup-dropbox
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
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 &
|
@ -12,9 +12,6 @@ if [ -z "$OMARCHY_BARE" ]; then
|
||||
echo -e "\e[31mFailed to install $pkg. Continuing without!\e[0m"
|
||||
done
|
||||
|
||||
yay -S --noconfirm --needed dropbox libappindicator-gtk3 python-gpgme nautilus-dropbox ||
|
||||
echo -e "\e[31mFailed to install Dropbox. Continuing without!\e[0m"
|
||||
|
||||
yay -S --noconfirm --needed 1password-beta 1password-cli ||
|
||||
echo -e "\e[31mFailed to install 1password. Continuing without!\e[0m"
|
||||
fi
|
||||
|
Reference in New Issue
Block a user