10 lines
201 B
Bash
Executable File
10 lines
201 B
Bash
Executable File
#!/bin/sh
|
|
module="$(
|
|
python - <<'PY' | wmenu -i -l 20
|
|
import pkgutil
|
|
for m in sorted({m.name for m in pkgutil.iter_modules()}):
|
|
print(m)
|
|
PY
|
|
)"
|
|
[ -n "$module" ] && foot -e python -m pydoc "$module"
|