summaryrefslogtreecommitdiff
path: root/arch/scripts/.local/bin/tmux-restore.sh
diff options
context:
space:
mode:
authorsteven-na <noreply.github@stvnc.dev>2026-07-11 00:27:47 -0700
committersteven-na <noreply.github@stvnc.dev>2026-07-11 00:27:47 -0700
commit6abeaadbe4cea91eb444cf23241b7f0320f2dc33 (patch)
tree0a3bd136892060791cdf489aee44bbd6195243bc /arch/scripts/.local/bin/tmux-restore.sh
parenta0045be331fa7191dd1b23fbd5720b543ce959d8 (diff)
Lots of changes
Diffstat (limited to 'arch/scripts/.local/bin/tmux-restore.sh')
-rw-r--r--arch/scripts/.local/bin/tmux-restore.sh8
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