diff --git a/bin/omarchy-install-dropbox b/bin/omarchy-install-dropbox index 4add3460..9de23983 100755 --- a/bin/omarchy-install-dropbox +++ b/bin/omarchy-install-dropbox @@ -5,6 +5,9 @@ echo "Installing all dependencies..." omarchy-pkg-add dropbox dropbox-cli libappindicator-gtk3 python-gpgme nautilus-dropbox +echo "Adding Dropbox to the bar..." +omarchy-config-shell-bar add omarchy.dropbox + echo "Starting Dropbox..." uwsm-app -- dropbox-cli start &>/dev/null & echo "See Dropbox icon behind  hover tray in top right and right-click for setup." diff --git a/bin/omarchy-remove-service-dropbox b/bin/omarchy-remove-service-dropbox new file mode 100644 index 00000000..c94c2a71 --- /dev/null +++ b/bin/omarchy-remove-service-dropbox @@ -0,0 +1,11 @@ +#!/bin/bash + +# omarchy:summary=Remove Dropbox and its bar plugin. +# omarchy:requires-sudo=true + +dropbox-cli stop 2>/dev/null || true +omarchy-config-shell-bar drop omarchy.dropbox +omarchy-pkg-drop dropbox dropbox-cli libappindicator-gtk3 python-gpgme nautilus-dropbox + +echo "" +echo "Dropbox has been removed." diff --git a/bin/omarchy-remove-service-tailscale b/bin/omarchy-remove-service-tailscale new file mode 100644 index 00000000..1fa4e321 --- /dev/null +++ b/bin/omarchy-remove-service-tailscale @@ -0,0 +1,13 @@ +#!/bin/bash + +# omarchy:summary=Remove Tailscale and its bar plugin. +# omarchy:requires-sudo=true + +tailscale down 2>/dev/null || true +sudo systemctl disable --now tailscaled.service 2>/dev/null || true +omarchy-config-shell-bar drop omarchy.tailscale +omarchy-webapp-remove "Tailscale" 2>/dev/null || true +omarchy-pkg-drop tailscale + +echo "" +echo "Tailscale has been removed." diff --git a/default/omarchy/omarchy-menu.jsonc b/default/omarchy/omarchy-menu.jsonc index 047f3e9a..ed9f5d0a 100644 --- a/default/omarchy/omarchy-menu.jsonc +++ b/default/omarchy/omarchy-menu.jsonc @@ -236,6 +236,7 @@ "remove.browser": {"icon":"","label":"Browser","keywords":"uninstall"}, "remove.dictation": {"icon":"","label":"Dictation","keywords":"uninstall voice","action":"omarchy-launch-floating-terminal-with-presentation omarchy-voxtype-remove"}, "remove.gaming": {"icon":"","label":"Gaming","keywords":"uninstall steam retroarch minecraft"}, + "remove.service": {"icon":"","label":"Services","keywords":"uninstall dropbox tailscale vpn","when":"omarchy-pkg-present dropbox || omarchy-pkg-present tailscale"}, "remove.windows": {"icon":"󰍲","label":"Windows","keywords":"uninstall vm","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-windows-vm remove'"}, "remove.preinstalls": {"icon":"󰏓","label":"Preinstalls","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-preinstalls"}, "remove.security": {"icon":"","label":"Security","keywords":"fingerprint fido2"}, @@ -247,6 +248,8 @@ "remove.browser.brave-origin": {"icon":"","label":"Brave Origin","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-browser brave-origin'"}, "remove.browser.firefox": {"icon":"","label":"Firefox","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-browser firefox'"}, "remove.browser.zen": {"icon":"","label":"Zen","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-browser zen'"}, + "remove.service.dropbox": {"icon":"","label":"Dropbox","when":"omarchy-pkg-present dropbox","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-service-dropbox"}, + "remove.service.tailscale": {"icon":"","label":"Tailscale","keywords":"vpn","when":"omarchy-pkg-present tailscale","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-service-tailscale"}, "remove.gaming.steam": {"icon":"","label":"Steam","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-gaming-steam"}, "remove.gaming.retroarch": {"icon":"","label":"RetroArch","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-gaming-retroarch"}, "remove.gaming.minecraft": {"icon":"󰍳","label":"Minecraft","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-gaming-minecraft"},