1
2
3
#!/bin/zsh
wmctrl -r
$WINDOWID
-t
$1
exec
tmux attach -t
$2