rofi/fzf_tmux.sh
1	#!/bin/bash
2
3 function tmux_sesh_wind() {
4 for sesh in $(tmux list-sessions -F "#S"); do
5 for win in $(tmux list-windows -t $sesh -F "#W"); do
6 echo "$sesh:$win";
7 done;
8 done;
9 }
10
11 RET=$(tmux_sesh_wind | fzf)
12 tmux switch-client -t $RET