My dmenu build
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 

10 行
239 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 d \( -perm -1 -o -perm -10 -o -perm -100 \) | sed 's/.*\///' | sort -u > "$CACHE"
  6. fi
  7. cat "$CACHE"