voidrice/.local/bin/lf-select

10 lines
184 B
Text
Raw Normal View History

2019-12-09 00:20:25 +00:00
#!/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