This commit is contained in:
DarthMooMancer
2025-09-20 17:21:29 -04:00
parent 6fb80080d2
commit 658154035f
17 changed files with 966 additions and 12 deletions
+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