iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
minor fix
[distro-setup]
/
i3-konsole
diff --git
a/i3-konsole
b/i3-konsole
index c4b5182f04a89aabe6a06eeac4264783c26a9c40..74fd2c29f2d0bd52fd26b91e26db70650461db91 100755
(executable)
--- 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
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
fi
else
i3-split-maybe
- konsole
+ konsole
&
sleep 1
i3-msg "[workspace=__focused__ class=\"konsole\"] mark term"
sleep 1
i3-msg "[workspace=__focused__ class=\"konsole\"] mark term"
+ wait
fi
fi