#!/bin/bash network="$(netctl list | cut -b 3- | dmenu)" [[ $network != "" ]] && sudo -A netctl switch-to "$network" || true