commit 61d79575dbe888a428edfcb43edd501d524f70dd
parent 4ec43456df188796cba8ffb6b05c228b9ab96c4e
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date: Tue, 22 Jan 2019 10:00:50 -0500
Use zathura as default pdf viewer in lf.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/.config/lf/lfrc b/.config/lf/lfrc
@@ -43,6 +43,7 @@ map <c-y> paste
cmd open ${{
case $(file --mime-type $f -b) in
text/*) $EDITOR $fx;;
+ application/pdf) nohup zathura $fx > /dev/null 2> /dev/null &;;
*) for f in $fx; do $OPENER $f > /dev/null 2> /dev/null & done;;
esac
}}