Run steam with gdb in a scratchpad window
This commit is contained in:
parent
90c126f0f5
commit
6607c3f7f3
|
@ -0,0 +1,14 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
window_class="$(basename $BASH_SOURCE)"
|
||||||
|
|
||||||
|
if [[ ! -v SWAYSOCK ]]; then
|
||||||
|
echo 'E: $SWAYSOCK is not set. Exiting.'
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
swaymsg for_window \[app_id=${window_class}\] move window to scratchpad
|
||||||
|
|
||||||
|
alacritty \
|
||||||
|
--class ${window_class} \
|
||||||
|
--command bash -c "DEBUGGER=gdb steam"
|
Loading…
Reference in New Issue