2022-07-04 21:36:33 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# Reads file names from stdin and selects them in lf.
|
|
|
|
|
|
|
|
while read -r file; do
|
2024-01-02 19:09:46 +01:00
|
|
|
[ -z "$file" ] && continue
|
|
|
|
lf -remote "send select \"$file\""
|
|
|
|
lf -remote "send toggle"
|
2022-07-04 21:36:33 +02:00
|
|
|
done
|