1 #!/bin/sh 2 3 # Prints a list of books in dmenu and opens the chosen one with pdfviewer 4 # The arguments receive are redirected to dmenu 5 6 # by github.com/klewer-martin 7 8 col_gray1="#000000" 9 col_gray3="#cccccc" 10 col_darkmagenta="#8B008B" 11 col_gray4="#eeeeee" 12 13 dmenufont='DejaVuSansMono Nerd Font:style=Regular:size=8' 14 # dmenucmds="-i -l 30 -h 14 -z 750 -bw 2 -c $@" 15 16 dmenucmds="-i -l 30 -h 14 -z 750 -bw 2 -c $@" 17 18 clipmenu $dmenucmds -nb $col_gray1 -nf $col_gray3 -sb $col_darkmagenta \ 19 -sf $col_gray4 -fn "$dmenufont"