blob: 5de2af8971d101ec091e7409fc9d911e6433848f (
plain)
1
2
3
4
5
6
7
|
#!/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 $(cat $HOME/.paths | wc -l) -p "$prompt" | awk '{print $3}')"
|