popup_man (224B)
1 #!/bin/sh 2 # 3 # Select a manpage and spawn a popup terminal with it. 4 5 unset MANWIDTH 6 manpage=$(man -k . | /usr/local/bin/dmenu -i -bw 6 -c -l 20 | awk '{ print $1 }') 7 [ -z $manpage ] || POPUP_GEOMETRY=90x45 popup man $manpage