executable_rofi-stumpwm 322 B

1234567891011121314
  1. #!/bin/sh
  2. if [ -z "$*" ]
  3. then
  4. stumpish commands \
  5. | tr '[:space:]' '\n' \
  6. | tr -d '[:blank:]' \
  7. | sed '/^$/d' \
  8. | grep 'rofi\|emacs' \
  9. | sort
  10. else
  11. stumpish "$@"
  12. fi