mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-02 11:32:42 +00:00
feat(cli): add Brave Origin Nightly support to omarchy-cycle
This commit is contained in:
1 parent
8be9126964
commit
ff4b73b748
2 files changed
+9
-2
No files matched your search
@@ -117,6 +117,13 @@ elif [[ $APP == "browser" ]]; then
|
||||
INSTANCES=($(addresses_matching_no_ssa '^(zen|brave|chromium|google-chrome|firefox|librewolf|vivaldi|microsoft-edge|helium)'))
|
||||
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
|
||||
# Cycle all terminals.
|
||||
INSTANCES=($(addresses_matching '(kitty|alacritty|ghostty|foot|wezterm)'))
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/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
|
||||
Reference in new issue
Block a user