whoops, broke tmenu
This commit is contained in:
parent
8594f34cb6
commit
bbe9174e88
2
sh/tmenu
2
sh/tmenu
|
@ -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"
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
|
||||
printf "%s" "$1"
|
||||
|
||||
fzy "$2" < "$1" > "${1}a"
|
||||
fzy < "$1" > "${1}a"
|
||||
mv "${1}a" "${1}"
|
||||
|
|
|
@ -9,4 +9,4 @@ tmenu_path () {
|
|||
done
|
||||
}
|
||||
|
||||
tmenu_path | tmenu "$@" | ${SHELL:-"/bin/sh"} &
|
||||
tmenu_path | tmenu | ${SHELL:-"/bin/sh"} &
|
||||
|
|
Loading…
Reference in New Issue