wip
This commit is contained in:
1 parent
3f68fe7c6a
commit
ca84b99db2
2 files changed
+3
-14
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user