1 2 3 4 5 6 7
if [ ! -f $HOME/.hotkeyrc ]; then echo "no ~/.hotkeyrc found" exit; fi; v=0 `while read $i; do echo $v" "$i; v=$(($v+1));done < $HOME/.hotkeyrc | dmenu -l 5 | sed 's/^[0-9] //g'`