whoops, broke tmenu

This commit is contained in:
randomuser 2022-11-27 18:45:24 +00:00
parent 8594f34cb6
commit bbe9174e88
3 changed files with 3 additions and 3 deletions

View File

@ -3,6 +3,6 @@
file=$(mktemp)
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"
rm "$file"

View File

@ -2,5 +2,5 @@
printf "%s" "$1"
fzy "$2" < "$1" > "${1}a"
fzy < "$1" > "${1}a"
mv "${1}a" "${1}"

View File

@ -9,4 +9,4 @@ tmenu_path () {
done
}
tmenu_path | tmenu "$@" | ${SHELL:-"/bin/sh"} &
tmenu_path | tmenu | ${SHELL:-"/bin/sh"} &