wip
This commit is contained in:
@@ -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