summaryrefslogtreecommitdiff
path: root/lwc
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-10-24 07:57:59 -0500
committerzachir <zachir@librem.one>2023-10-24 07:57:59 -0500
commit1a83e86f147bcef87e8bdafad343b4263d0f33ac (patch)
treeffc21ac6ddafad1a3563542f7efe56c79fe92147 /lwc
parente70b4be988bae1ef98326a21321d476fd6a8afd0 (diff)
Fix separation of dmenu and args
Diffstat (limited to 'lwc')
-rwxr-xr-xlwc6
1 files 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