icecast improvements
[distro-setup] / i3-konsole
index c4b5182f04a89aabe6a06eeac4264783c26a9c40..74fd2c29f2d0bd52fd26b91e26db70650461db91 100755 (executable)
@@ -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