1
0
Fork 0
dotfiles/.local/bin/lf-select

10 lines
193 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