mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-02 11:32:42 +00:00
fix(cli): update Brave Origin scripts to use correct executable
This commit is contained in:
1 parent
2845895ff4
commit
c84ce938e5
3 files changed
+6
-6
No files matched your search
@@ -1,3 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Cycle Brave Origin Nightly windows; launch brave-origin-nightly if none open.
|
# Cycle Brave Origin windows; launch brave-origin if none open.
|
||||||
exec "$(dirname "$(readlink -f "$0")")/niri-launch" brave-origin-nightly
|
exec "$(dirname "$(readlink -f "$0")")/niri-launch" brave-origin
|
||||||
@@ -122,11 +122,11 @@ elif [[ $APP == "browser" ]]; then
|
|||||||
DEFAULT_LAUNCHER="omarchy-launch-browser"
|
DEFAULT_LAUNCHER="omarchy-launch-browser"
|
||||||
|
|
||||||
elif [[ $APP == "brave" ]]; then
|
elif [[ $APP == "brave" ]]; then
|
||||||
# Cycle the Brave Origin Nightly browser and all of its web apps. Both the
|
# Cycle the Brave Origin browser and all of its web apps. Both the
|
||||||
# real browser (class brave-origin-nightly) and the SSAs (class brave-<host>)
|
# real browser (class brave-origin) and the SSAs (class brave-<host>)
|
||||||
# share the brave- prefix, so one regex catches them all.
|
# share the brave- prefix, so one regex catches them all.
|
||||||
INSTANCES=($(addresses_matching '^brave'))
|
INSTANCES=($(addresses_matching '^brave'))
|
||||||
DEFAULT_SPAWN="brave-origin-nightly"
|
DEFAULT_SPAWN="brave-origin"
|
||||||
|
|
||||||
elif [[ $APP == "terminal" ]]; then
|
elif [[ $APP == "terminal" ]]; then
|
||||||
# Cycle all terminals. kitty-herdr is the SUPER + A scratch terminal
|
# Cycle all terminals. kitty-herdr is the SUPER + A scratch terminal
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# omarchy:summary=Cycle Brave Origin Nightly windows and all its web apps; launch brave-origin-nightly if none are open.
|
# omarchy:summary=Cycle Brave Origin windows and all its web apps; launch brave-origin if none are open.
|
||||||
|
|
||||||
exec "$(dirname "$(readlink -f "$0")")/omarchy-cycle" brave
|
exec "$(dirname "$(readlink -f "$0")")/omarchy-cycle" brave
|
||||||
Reference in new issue
Block a user