configfiles/bspwm/.config/scripts/monsetup_menu.sh

14 lines
167 B
Bash
Raw Normal View History

#!/bin/bash
cd $(dirname $0)
DMENU="./dmenu.sh"
menu() {
echo $@ | tr ' ' '\n' | $DMENU
}
2015-10-08 09:02:57 +02:00
mode=$(menu second clone off)
[ -n "$mode" ] && ./monsetup.sh $mode