X-Git-Url: https://zdv2.bktei.com/gitweb/BK-2020-03.git/blobdiff_plain/396d515872e3d8522817c21b118501920da52f55..b45e4c4d032f2dfeaa73a9bbcad3dd8a1cffcfae:/user/bkfeh diff --git a/user/bkfeh b/user/bkfeh index 6f3e255..e9f38fe 100755 --- a/user/bkfeh +++ b/user/bkfeh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # Desc: Wrapper for feh that accepts directory paths via posargs or stdin lines. -# Version: 0.4.1 +# Version: 0.4.2 # Ref/Attrib: [1] Tange, Ole. GNU Parallel with Bash Array. 2019-03-24. https://unix.stackexchange.com/a/508365/411854 # Depends: GNU Parallel, GNU Bash v5.1.16, feh 3.6.3, GNU Coreutils 9.4 (b2sum, cp) @@ -391,7 +391,7 @@ main() { # Generate file list # Find settings - firegex=".+\(jpg\|jpeg\|gif\|png\|webm\)$"; # update according to `find . -type f | grep -Eo "\.([[:alnum:]])+$" | sort -u` + firegex=".+\(jpg\|jpeg\|gif\|png\|webp\)$"; # update according to `find . -type f | grep -Eo "\.([[:alnum:]])+$" | sort -u` fsize="10k"; # default: minimum "10k" export firegex fsize ; # export for parallel ## Call find_filelist() in parallel for positional argument input