diff options
Diffstat (limited to 'arch/scripts/.local/bin/tmux-restore.sh')
| -rw-r--r-- | arch/scripts/.local/bin/tmux-restore.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/scripts/.local/bin/tmux-restore.sh b/arch/scripts/.local/bin/tmux-restore.sh new file mode 100644 index 0000000..2788c51 --- /dev/null +++ b/arch/scripts/.local/bin/tmux-restore.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +tmux start-server +tmux has-session -t main 2>/dev/null || tmux new-session -d -s main +sleep 0.3 +tmux send-keys -t main C-Space +sleep 0.1 +tmux send-keys -t main C-r |