Use less-persistent sway command, and bring resulting window in focus
This commit is contained in:
parent
6607c3f7f3
commit
603973931d
|
@ -7,8 +7,8 @@ if [[ ! -v SWAYSOCK ]]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
swaymsg for_window \[app_id=${window_class}\] move window to scratchpad
|
||||
swaymsg exec "alacritty --class ${window_class} --command bash -c 'DEBUGGER=gdb steam'"
|
||||
|
||||
alacritty \
|
||||
--class ${window_class} \
|
||||
--command bash -c "DEBUGGER=gdb steam"
|
||||
until swaymsg "[app_id=${window_class}]" move to scratchpad, focus; do
|
||||
sleep 0.1
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue