dotfiles

My collection of dotfiles
git clone git://git.noxz.tech/dotfiles
Log | Files | Refs

dmenu_man (204B)


      1 #!/bin/sh
      2 
      3 args=" -p man: -l 30 $@"
      4 
      5 man="$(
      6 	man -k .                \
      7 	| dmenu_vtc${args}      \
      8 	| grep -oe '^[^(]*'     \
      9 )"
     10 
     11 [ "$man" = "" ] && exit 1
     12 
     13 echo "$man" | xargs -r man -Tpdf | zathura - &