From 306e20b5af454926eb1ef66f8764c2a095130445 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Mon, 1 Jun 2020 18:31:37 +0200 Subject: bin/menu: show at the top --- bin/menu | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'bin') diff --git a/bin/menu b/bin/menu index 7faea11..3b25776 100755 --- a/bin/menu +++ b/bin/menu @@ -1,7 +1,11 @@ #!/bin/sh +set -e +[ -n "$DEBUG" ] && set -x arg0=bemenu prompt=${MENU_PROMPT:-">"} +main_color="#0B346F" + while test $# -gt 0; do case "$1" in -run) @@ -13,20 +17,19 @@ while test $# -gt 0; do done exec "${arg0}" \ - --bottom \ + --no-overlap \ --monitor=all \ --ignorecase \ - --list=4 \ + --list=10 \ --index \ - --no-overlap \ --prompt "${prompt}" \ --fn 'Iosevka Sparkle 11' \ --nb '#221E1D' --nf '#fffefe' \ - --tb '#0B346F' --tf '#fffefe' \ + --tb "$main_color" --tf '#fffefe' \ --fb '#221E1D' --ff '#fffefe' \ --sb '#FAD689' \ --sf '#221E1D' \ - --hb '#0B346F' \ + --hb "$main_color" \ --hf '#FCFAF2' \ --scb '#221E1D' --scf '#fffefe' \ "$@" -- cgit 1.4.1