#!/bin/bash find /etc/netctl -maxdepth 1 -type f | dmenu | \ xargs -I{} bash -c "sudo -A netctl switch-to \$(basename {})"