whoops, broke tmenu
This commit is contained in:
parent
8594f34cb6
commit
bbe9174e88
2
sh/tmenu
2
sh/tmenu
|
@ -3,6 +3,6 @@
|
||||||
file=$(mktemp)
|
file=$(mktemp)
|
||||||
cat - > "$file"
|
cat - > "$file"
|
||||||
|
|
||||||
st -c tmenu-prompt -g 40x10+0+0 -e tmenu-backend "$file" "$1"
|
st -c tmenu-prompt -g 40x10+0+0 -e tmenu-backend "$file"
|
||||||
cat "$file"
|
cat "$file"
|
||||||
rm "$file"
|
rm "$file"
|
||||||
|
|
|
@ -2,5 +2,5 @@
|
||||||
|
|
||||||
printf "%s" "$1"
|
printf "%s" "$1"
|
||||||
|
|
||||||
fzy "$2" < "$1" > "${1}a"
|
fzy < "$1" > "${1}a"
|
||||||
mv "${1}a" "${1}"
|
mv "${1}a" "${1}"
|
||||||
|
|
|
@ -9,4 +9,4 @@ tmenu_path () {
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
tmenu_path | tmenu "$@" | ${SHELL:-"/bin/sh"} &
|
tmenu_path | tmenu | ${SHELL:-"/bin/sh"} &
|
||||||
|
|
Loading…
Reference in New Issue