This commit is contained in:
DarthMooMancer committed 2025-09-20 17:21:29 -04:00
1 parent 178fe18701
commit 563843be5f
17 files changed
+966 -12

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
#!/usr/bin/env bash
sessions=$(tmux ls -F '#S' 2>/dev/null)
count=$(echo "$sessions" | wc -l)
# Clamp to max 10
[ "$count" -gt 10 ] && count=10
tmux=$(tmux ls -F '#S' | dmenu -c -l $count -p "Sessions:")
[ -z "$tmux" ] && exit 0
ghostty -e tmux attach -t $tmux