Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 11 lines (8 sloc) 260 Bytes
#!/bin/bash
window_list=$(ratpoison -c "windows")
window=$(echo -e "$window_list" | sed 's/URxvt/URxvt terminal/' | rofi -dmenu -i -p "> " -no-custom)
if [[ "$window" != "" ]];
then
number=$(echo $window | head -c 1)
ratpoison -c "select $number"
fi