#!/bin/bash netctl list | cut -b 3- | dmenu | ifne xargs bash -c 'sudo -A netctl switch-to && sudo ntpd -qg'