mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-02 11:32:42 +00:00
chs: re-add drifted files
This commit is contained in:
1 parent
ec151d2349
commit
d5e69f0b9e
3 files changed
+8
-2
No files matched your search
@@ -52,8 +52,8 @@ elif [[ "$APP" == "ghostty" ]]; then
|
||||
# Cycle through Ghostty terminals (case-insensitive app_id match)
|
||||
INSTANCES=($(niri msg -j windows | jq -r '.[] | select(.app_id | test("ghostty"; "i")) | .id'))
|
||||
elif [[ "$APP" == "browser" ]]; then
|
||||
# Cycle through all browsers (brave/chromium/firefox), launch default if none
|
||||
INSTANCES=($(niri msg -j windows | jq -r '.[] | select((.app_id // "") | ascii_downcase | test("^(brave|chromium|firefox)")) | .id'))
|
||||
# Cycle through all browsers (brave/chromium/firefox) + Claude desktop, launch default if none
|
||||
INSTANCES=($(niri msg -j windows | jq -r '.[] | select((.app_id // "") | ascii_downcase | test("^(brave|chromium|firefox)|claude")) | .id'))
|
||||
DEFAULT_SPAWN="brave-origin-nightly"
|
||||
elif [[ "$APP" == "terminal" ]]; then
|
||||
# Cycle through all terminals (ghostty/kitty/alacritty), launch default if none
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
# Cycle through all browsers (brave/chromium/firefox); launch default if none open.
|
||||
exec "$(dirname "$(readlink -f "$0")")/niri-launch" browser
|
||||
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
# Cycle through all terminals (ghostty/kitty/alacritty); launch default if none open.
|
||||
exec "$(dirname "$(readlink -f "$0")")/niri-launch" terminal
|
||||
Reference in new issue
Block a user