voidrice/.local/bin/lf-select
2019-12-08 19:20:25 -05:00

9 lines
184 B
Bash
Executable file

#!/bin/sh
# Reads file names from stdin and selects them in lf.
while read -r file; do
[ -z "$file" ] && continue
lf -remote "send select \"$file\""
lf -remote "send toggle"
done