From 00a415d37872e751e3d935da7512126e3e8797f1 Mon Sep 17 00:00:00 2001 From: InigoGutierrez Date: Sun, 7 Aug 2022 21:04:31 +0200 Subject: Specific lines for dmenu on selectPath.sh. --- selectPath.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'selectPath.sh') diff --git a/selectPath.sh b/selectPath.sh index 5de2af8..e85af65 100755 --- a/selectPath.sh +++ b/selectPath.sh @@ -3,5 +3,4 @@ # Reads ~/.paths and uses dmenu to echo a path. [ -z "$1" ] && prompt="Choose a path:" || prompt="$1" -echo "$(cat $HOME/.paths | dmenu -l $(cat $HOME/.paths | wc -l) -p "$prompt" | awk '{print $3}')" - +echo "$(cat $HOME/.paths | dmenu -l 20 -p "$prompt" | awk '{print $3}')" -- cgit v1.2.1