add changes to tmenu
This commit is contained in:
parent
6a78941134
commit
24392d6a88
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"
|
st -c tmenu-prompt -g 40x10+0+0 -e tmenu-backend "$file" "$1"
|
||||||
cat "$file"
|
cat "$file"
|
||||||
rm "$file"
|
rm "$file"
|
||||||
|
|
|
@ -2,5 +2,5 @@
|
||||||
|
|
||||||
printf "%s" $1
|
printf "%s" $1
|
||||||
|
|
||||||
fzy < "$1" > "${1}a"
|
fzy $2 < "$1" > "${1}a"
|
||||||
mv ${1}a ${1}
|
mv ${1}a ${1}
|
||||||
|
|
Loading…
Reference in New Issue