Make qemu.sh work with i3 as well

This commit is contained in:
Justin C. Miller
2019-05-26 10:33:45 -07:00
parent a653c55941
commit 2b0cd6f2f2

View File

@@ -39,6 +39,12 @@ if [[ -n $TMUX ]]; then
else
tmux split-window -l 10 "sleep 1; telnet localhost 45454" &
fi
elif [[ $DESKTOP_SESSION = "i3" ]]; then
if [[ -n $debug ]]; then
i3-msg exec i3-sensible-terminal -- -e "gdb ${PWD}/${build}/popcorn.elf" &
else
i3-msg exec i3-sensible-terminal -- -e 'telnet localhost 45454' &
fi
fi
exec qemu-system-x86_64 \