summaryrefslogtreecommitdiff
path: root/vnc_choose_connect.sh
blob: cf96e823e5735f845cb4b60bfb27e3905f215739 (plain)
1
2
3
4
5
6
7
#!/bin/sh
srv=$(cat $HOME/vnc_servers.txt|$PICKER -p 'VNC:'|awk '{print $2}')
[ -z "$srv" ] && {
	notify-send "no choice"
	exit 1
}
exec vncviewer $srv