BEMENU_OPTS: support fixed height and borders

This commit is contained in:
Willow Barraco 2023-03-31 11:24:47 +02:00
parent dac8842c97
commit e26825b803
No known key found for this signature in database
GPG Key ID: EABA44759877E02A
2 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ _sxmo_load_environments() {
export SXMO_LOGDIR="${SXMO_LOGDIR:-$XDG_DATA_HOME/sxmo/modem}"
export SXMO_NOTIFDIR="${SXMO_NOTIFDIR:-$XDG_DATA_HOME/sxmo/notifications}"
export BEMENU_OPTS="${BEMENU_OPTS:---ab "#222222" --af "#bbbbbb" --cb "#222222" --center --cf "#bbbbbb" --fb "#222222" --fbb "#eeeeee" --fbf "#222222" --ff "#bbbbbb" --fn 'Sxmo 14' --hb "#005577" --hf "#eeeeee" --line-height 20 --list 16 --margin 40 --nb "#222222" --nf "#bbbbbb" --no-overlap --no-spacing --scb "#005577" --scf "#eeeeee" --scrollbar autohide --tb "#005577" --tf "#eeeeee" --wrap}"
export BEMENU_OPTS="${BEMENU_OPTS:---ab "#222222" --af "#bbbbbb" --bdr "#005577" --border 3 --cb "#222222" --center --cf "#bbbbbb" --fb "#222222" --fbb "#eeeeee" --fbf "#222222" --ff "#bbbbbb" --fixed-height --fn 'Sxmo 14' --hb "#005577" --hf "#eeeeee" --line-height 20 --list 16 --margin 40 --nb "#222222" --nf "#bbbbbb" --no-overlap --no-spacing --scb "#005577" --scf "#eeeeee" --scrollbar autohide --tb "#005577" --tf "#eeeeee" --wrap}"
export EDITOR="${EDITOR:-vim}"
export BROWSER="${BROWSER:-firefox}"

View File

@ -205,7 +205,7 @@ incoming_call_menu() {
(
PICKED="$(
cat <<EOF | sxmo_dmenu.sh -i -H "$pickup_height" -p "$CONTACTNAME"
cat <<EOF | sxmo_dmenu.sh -i -H "$pickup_height" -p "$CONTACTNAME" -l 3
$icon_phn Pickup
$icon_phx Hangup
$icon_mut Ignore