feat(cli): add Brave Origin Nightly support to omarchy-cycle

This commit is contained in:
Prad Nukala committed 2026-08-27 13:59:00 -04:00
1 parent 8be9126964
commit ff4b73b748
2 files changed
+9 -2

No files matched your search

+7
View File
@@ -117,6 +117,13 @@ elif [[ $APP == "browser" ]]; then
INSTANCES=($(addresses_matching_no_ssa '^(zen|brave|chromium|google-chrome|firefox|librewolf|vivaldi|microsoft-edge|helium)')) INSTANCES=($(addresses_matching_no_ssa '^(zen|brave|chromium|google-chrome|firefox|librewolf|vivaldi|microsoft-edge|helium)'))
DEFAULT_LAUNCHER="omarchy-launch-browser" DEFAULT_LAUNCHER="omarchy-launch-browser"
elif [[ $APP == "brave" ]]; then
# Cycle the Brave Origin Nightly browser and all of its web apps. Both the
# real browser (class brave-origin-nightly) and the SSAs (class brave-<host>)
# share the brave- prefix, so one regex catches them all.
INSTANCES=($(addresses_matching '^brave'))
DEFAULT_SPAWN="brave-origin-nightly"
elif [[ $APP == "terminal" ]]; then elif [[ $APP == "terminal" ]]; then
# Cycle all terminals. # Cycle all terminals.
INSTANCES=($(addresses_matching '(kitty|alacritty|ghostty|foot|wezterm)')) INSTANCES=($(addresses_matching '(kitty|alacritty|ghostty|foot|wezterm)'))
@@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# omarchy:summary=Cycle Brave Origin Nightly windows; launch brave-origin-nightly if none are open. # omarchy:summary=Cycle Brave Origin Nightly windows and all its web apps; launch brave-origin-nightly if none are open.
exec "$(dirname "$(readlink -f "$0")")/omarchy-cycle" brave-origin-nightly exec "$(dirname "$(readlink -f "$0")")/omarchy-cycle" brave