display options vertically

This commit is contained in:
Ray Elliott 2020-04-01 14:58:02 +01:00
commit 11e4a397a1

View file

@ -11,7 +11,7 @@ if command -v bspc ; then
[[ -n "$options" ]] || exit
id_index="$(<<< "$options" dmenu $DMENU_OPTIONS | cut -d: -f1)"
id_index="$(<<< "$options" dmenu $DMENU_OPTIONS -l 20 | cut -d: -f1)"
[[ -n "$id_index" ]] || exit
bspc node "${ids[$((id_index - 1))]}" -f