dmenu: add DMENU_OPTS
(like BEMENU_OPTS to set height, etc.) Signed-off-by: Anjandev Momi <anjan@momi.ca>
This commit is contained in:

committed by
Anjandev Momi

parent
7df6cb64eb
commit
c05ec048a3
@@ -63,11 +63,11 @@ if [ -n "$DISPLAY" ]; then
|
||||
# TODO: kill dmenu?
|
||||
|
||||
if sxmo_keyboard.sh isopen; then
|
||||
exec dmenu -l "$(sxmo_rotate.sh isrotated > /dev/null && \
|
||||
exec dmenu $SXMO_DMENU_OPTS -l "$(sxmo_rotate.sh isrotated > /dev/null && \
|
||||
printf %s "${SXMO_DMENU_WITH_KB_LANDSCAPE_LINES:-5}" || \
|
||||
printf %s "${SXMO_DMENU_WITH_KB_PORTRAIT_LINES:-12}")" "$@"
|
||||
else
|
||||
exec dmenu -l "$(sxmo_rotate.sh isrotated > /dev/null && \
|
||||
exec dmenu $SXMO_DMENU_OPTS -l "$(sxmo_rotate.sh isrotated > /dev/null && \
|
||||
printf %s "${SXMO_DMENU_LANDSCAPE_LINES:-7}" || \
|
||||
printf %s "${SXMO_DMENU_PORTRAIT_LINES:-15}")" "$@"
|
||||
fi
|
||||
|
Reference in New Issue
Block a user