diff --git a/config/sxhkd/sxhkdrc b/config/sxhkd/sxhkdrc index 124f03df..da570b56 100644 --- a/config/sxhkd/sxhkdrc +++ b/config/sxhkd/sxhkdrc @@ -10,8 +10,10 @@ super + t super + apostrophe 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 - xst -e bash -c "tmux new || tmux attach" + xst -e bash -c "(tmux ls | grep -vq attached && tmux at) || tmux" ctrl + super + Return xst