dotfiles

My personal dotfiles
git clone git://pcardensab.com/dotfiles
Log | Files | Refs | Submodules | README

biburl (217B)


      1 #!/bin/sh
      2 
      3 [ -f "$BIB" ] || {
      4     echo "No BIB=$BIB"
      5     exit 1
      6 }
      7 
      8 if [ -t 0 ]; then
      9     command="fzf"
     10 else
     11     command="dmenu -i -l 20"
     12 fi
     13 
     14 biblist-url |
     15     $command |
     16     cut -d" " -f1 |
     17     xargs -r -n 1 xdg-open