blob: e85af652559f5442f4b6a2aedd4101784d250a3e (
plain)
1
2
3
4
5
6
|
#!/bin/sh
# Reads ~/.paths and uses dmenu to echo a path.
[ -z "$1" ] && prompt="Choose a path:" || prompt="$1"
echo "$(cat $HOME/.paths | dmenu -l 20 -p "$prompt" | awk '{print $3}')"
|