Another copy of my dotfiles. Because I don't completely trust GitHub.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
251 B

  1. #!/bin/sh
  2. DMENU='dmenu -z 1900 -x 10 -y 10 -i'
  3. declare -A mappings
  4. mappings=(
  5. ["Test"]="Test"
  6. ["Test2"]="Test2"
  7. )
  8. items=""
  9. for i in "${!mappings[@]}"; do
  10. items=$(echo -e "$items\n$i")
  11. done
  12. selection=$(echo "$items" | tail -n +2 | $DMENU)