dotfiles/.local/bin/tools/epdf
2020-07-04 14:23:27 +02:00

4 lines
173 B
Bash
Executable File

#!/bin/sh
pdf="$(du -a --time ETH/ | awk '!($1="")' | sort -r | grep '\.pdf' | awk '!($1="")' | awk '!($1="")' | sed 's/^ //' | dmenu -l 20 )"
[ -z $pdf ] || $READER "$pdf"