From f6a8c6c02f025deb863cddf7956c824845cfd7d7 Mon Sep 17 00:00:00 2001 From: Miguel Mendez Date: Sun, 30 Aug 2026 01:17:31 +0200 Subject: [PATCH] Mark omarchy-install-service-dropbox as requires-sudo bin/omarchy scans the first 80 lines of every command for omarchy:* metadata. The requires-sudo flag is surfaced via 'omarchy commands --json', and the interactive launcher and menu use it to flag entries that need elevation before the user clicks them. Every install-service script in bin/ has the directive: spotify, signal, 1password, sunshine, dropbox-remove, nordvpn, once, tailscale, plus the full omarchy-install-* and omarchy-apply-* trees. omarchy-remove-service-dropbox has it. omarchy-install-service-dropbox is the outlier. The menu hints 'needs sudo' for removing Dropbox but not for installing it. The install path runs pacman via omarchy-pkg-add, which needs elevation. The missing directive is an oversight, not a deliberate choice. --- bin/omarchy-install-service-dropbox | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/omarchy-install-service-dropbox b/bin/omarchy-install-service-dropbox index 0ee07bfb..7a4e190e 100755 --- a/bin/omarchy-install-service-dropbox +++ b/bin/omarchy-install-service-dropbox @@ -1,6 +1,7 @@ #!/bin/bash # omarchy:summary=Install and start the Dropbox service. Must then be authenticated via the web. +# omarchy:requires-sudo=true echo "Installing all dependencies..." omarchy-pkg-add dropbox dropbox-cli libappindicator-gtk3 python-gpgme nautilus-dropbox