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
169 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. lsx $PATH | sort -u > "$CACHE"
  6. fi
  7. cat "$CACHE"