Fix runaway creation of tmux sessions

This commit is contained in:
Henrik Lissner 2020-02-11 19:31:37 -05:00
parent c3fcd3ccd0
commit 96af8aaf01
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -10,8 +10,10 @@ super + t
super + apostrophe super + apostrophe
bspc window -s last bspc window -s last
# Attach to a detached session. If none is available create a new one, rather
# than attach to one that is already attached to elsewhere.
super + Return super + Return
xst -e bash -c "tmux new || tmux attach" xst -e bash -c "(tmux ls | grep -vq attached && tmux at) || tmux"
ctrl + super + Return ctrl + super + Return
xst xst