From 1a83e86f147bcef87e8bdafad343b4263d0f33ac Mon Sep 17 00:00:00 2001 From: zachir Date: Tue, 24 Oct 2023 07:57:59 -0500 Subject: Fix separation of dmenu and args --- lwc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lwc b/lwc index cf06ed5..78b33e1 100755 --- a/lwc +++ b/lwc @@ -20,10 +20,10 @@ esac done #{{{ Check display server if -w or -x not provided if [ -n "$WAYLAND_DISPLAY" ]; then DMENU="tofi" - DEFARGS=" -c $HOME/.config/tofi/themes/dmenu_vertical --prompt-text" + DEFARGS="-c $HOME/.config/tofi/themes/dmenu_vertical --prompt-text" elif [ -n "$DISPLAY" ]; then - DMENU="dmenu -l 10 -p" - DEFARGS="" + DMENU="dmenu" + DEFARGS="-l 10 -p" else print "Can't tell if Wayland or X; what gives?\n" exit 1 -- cgit v1.2.3