Simplify with a launch or focus variaty for tui

This commit is contained in:
David Heinemeier Hansson committed 2025-11-19 14:15:22 +01:00
1 parent 6e83c4f661
commit 1b7fca5fa4
8 files changed
+15 -9

No files matched your search

+1 -1
View File
@@ -12,5 +12,5 @@ WINDOW_ADDRESS=$(hyprctl clients -j | jq -r --arg p "^$WINDOW_PATTERN$" '.[]|sel
if [[ -n $WINDOW_ADDRESS ]]; then
hyprctl dispatch focuswindow "address:$WINDOW_ADDRESS"
else
eval exec $LAUNCH_COMMAND
eval exec setsid $LAUNCH_COMMAND
fi