My dmenu build
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.
 
 
 
 
 
 

10 lines
237 B

  1. #!/bin/sh
  2. CACHE=$HOME/.dmenu_cache
  3. IFS=:
  4. if ! test -f "$CACHE" || find $PATH -type d -newer "$CACHE" | grep -q .; then
  5. find $PATH -type f \( -perm -1 -o -perm -10 -o -perm -100 \) | sed 's/.*\///' | sort -u > "$CACHE"
  6. fi
  7. cat "$CACHE"