From bfde7ebf65e761a6df9a8bfb43ea5d40b44472c0 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Mon, 24 Jul 2023 13:10:47 +0200 Subject: eased the use --- bin/menuscripts/mpass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/menuscripts/mpass b/bin/menuscripts/mpass index 87559e9..a50f0fb 100755 --- a/bin/menuscripts/mpass +++ b/bin/menuscripts/mpass @@ -6,7 +6,7 @@ then menucmd="tofi --prompt pass:" elif [ "$MENUCMD" = "dmenu" ] then - menucmd="dmenu -l 4 -g 2 -x -i -p pass:" + menucmd="dmenu -l 4 -g 2 -i -p pass:" else menucmd="fzf --prompt pass:" fi @@ -17,6 +17,7 @@ do file="$file/$choice" done +test -z "$file" && exit 1 pass show -c "$file" && if [ -n "$WAYLAND_DISPLAY" ] && cliphist list >/dev/null then -- cgit v1.2.3