summaryrefslogtreecommitdiff
path: root/.local/bin/lf-select
blob: 3b2a17a55996fc495c25195a8d6ab25116446ff9 (plain)
1
2
3
4
5
6
7
8
9
#!/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