X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=i3-konsole;h=74fd2c29f2d0bd52fd26b91e26db70650461db91;hb=989554cab0d0c59d1aab20496ba9550acd17e6e6;hp=c4b5182f04a89aabe6a06eeac4264783c26a9c40;hpb=3342374657bd712f14cd772378b23d2bca3382cb;p=distro-setup diff --git a/i3-konsole b/i3-konsole index c4b5182..74fd2c2 100755 --- a/i3-konsole +++ b/i3-konsole @@ -35,11 +35,12 @@ if i3-msg -t get_tree | jq --stream -r 'select(.[1]|scalars!=null) | "\(.[0]|joi 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