This commit is contained in:
DarthMooMancer committed 2025-10-02 20:11:26 -04:00
1 parent 3f68fe7c6a
commit ca84b99db2
2 files changed
+3 -14

No files matched your search

-10
View File
@@ -1,10 +0,0 @@
#!/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