mirror of
https://github.com/justinian/jsix.git
synced 2025-12-09 16:04:32 -08:00
Make qemu.sh work with i3 as well
This commit is contained in:
6
qemu.sh
6
qemu.sh
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user