zathura.sh (192B)
1 #!/bin/bash 2 3 pdfs=$(find ~ -type f -iname '*.pdf') 4 5 prompt="pdf:" 6 7 dmenu_cmd="dmenu -p \"$prompt\"" 8 pdf=$(printf "%s\n" "$pdfs" | eval "$dmenu_cmd") 9 10 if [ -n "$pdf" ]; then 11 zathura "$pdf" 12 fi
scriptsScripts for general automations | |
| git clone git://git.laack.co/scripts.git | |
| Log | Files | Refs |