#!/bin/sh action=$(printf "Play Music\nPause Music\nToggle Music\nSelect VPN\nDisable VPN\nRebind keys" | dmenu -i -p "Actions") case $action in 'Play Music') mpc play ;; 'Pause Music') mpc pause ;; 'Toggle Music') mpc toggle ;; 'Rebind keys') setup-xbindkeys;; esac