dmenium

small collection of dmenu scripts
git clone git://edryd.org/dmenium
Log | Files | Refs | LICENSE

man (183B)


      1 #!/usr/bin/env bash
      2 
      3 dmenucmd=$(man -k . | cut -d ' ' -f 1,2 | dmenu $@)
      4 [[ -z $dmenucmd ]] && exit
      5 dmenucmd=$(echo $dmenucmd | tr -d '()' | awk '{print $2, " ", $1}')
      6 echo $dmenucmd