From 2f5674273936fd7d02fac90089ea1bb410eae480 Mon Sep 17 00:00:00 2001 From: ray Date: Thu, 27 Feb 2020 15:29:22 +0000 Subject: [PATCH] add thumbs command, mapped to t --- lfrc | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/lfrc b/lfrc index 5dee872..2c9b45e 100644 --- a/lfrc +++ b/lfrc @@ -103,9 +103,14 @@ cmd zip ${{ set ratios '2:5' -# TODO -# command that executes -# feh -t -y128 -E128 +map t thumbs +cmd thumbs ${{ + if [ -d "$f" ] ; then + feh -t -y128 -E128 $f + else + feh -t -y128 -E128 + fi +}} # TODO test this cmd paste &{{