~mil/sxmo-utils

8164bdf331d56d18df27bd77c5e503b2768f4580 — Stacy Harper 13 days ago a2405f6
Fix shellchecks
2 files changed, 3 insertions(+), 0 deletions(-)

M scripts/core/sxmo_dmenu.sh
M scripts/core/sxmo_notify_user.sh
M scripts/core/sxmo_dmenu.sh => scripts/core/sxmo_dmenu.sh +2 -0
@@ 63,10 63,12 @@ if [ -n "$DISPLAY" ]; then
	# TODO: kill dmenu?

	if sxmo_keyboard.sh isopen; then
		# shellcheck disable=SC2086
		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
		# shellcheck disable=SC2086
		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}")" "$@"

M scripts/core/sxmo_notify_user.sh => scripts/core/sxmo_notify_user.sh +1 -0
@@ 2,6 2,7 @@
# SPDX-License-Identifier: AGPL-3.0-only
# Copyright 2022 Sxmo Contributors

# shellcheck source=scripts/core/sxmo_common.sh
. sxmo_common.sh

notify-send "$@"