aboutsummaryrefslogtreecommitdiff
path: root/selectPath.sh
diff options
context:
space:
mode:
Diffstat (limited to 'selectPath.sh')
-rwxr-xr-xselectPath.sh3
1 files changed, 1 insertions, 2 deletions
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}')"