Simplify with a launch or focus variaty for tui

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

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