From 6e0ab9974ade9e697719107eb7c490efabcac7b3 Mon Sep 17 00:00:00 2001 From: ProsperousPotato Date: Thu, 22 Jan 2026 22:54:15 +0000 Subject: remove -vi flag for st-* scripts --- st-copyout | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'st-copyout') diff --git a/st-copyout b/st-copyout index 6f5a182..f2370dc 100755 --- a/st-copyout +++ b/st-copyout @@ -10,6 +10,6 @@ trap 'rm "$tmpfile"' 0 1 15 sed -n "w $tmpfile" sed -i 's/\x0//g' "$tmpfile" ps1="$(grep "\S" "$tmpfile" | tail -n 1 | sed 's/^\s*//' | cut -d' ' -f1)" -chosen="$(grep -F "$ps1" "$tmpfile" | sed '$ d' | tac | dmenu -vi -p "Copy which command's output?" -i -l 10 | sed 's/[^^]/[&]/g; s/\^/\\^/g')" +chosen="$(grep -F "$ps1" "$tmpfile" | sed '$ d' | tac | dmenu -p "Copy which command's output?" -i -l 10 | sed 's/[^^]/[&]/g; s/\^/\\^/g')" eps1="$(echo "$ps1" | sed 's/[^^]/[&]/g; s/\^/\\^/g')" awk "/^$chosen$/{p=1;print;next} p&&/$eps1/{p=0};p" "$tmpfile" | xclip -selection clipboard -- cgit v1.2.3