if [[ $cur_workspace == 2 && $h ]]; then
i3-msg "swap container with mark term; [con_mark=\"term\"] focus"
else
- i3-msg '[con_mark="term"] move workspace current'
+ i3-msg "[con_mark=\"term\"] focus"
fi
else
i3-split-maybe
- konsole
+ konsole &
sleep 1
i3-msg "[workspace=__focused__ class=\"konsole\"] mark term"
+ wait
fi