Anyway to pass a custom toast/notification in yazi? #3024
Unanswered
guttermonk
asked this question in
1. Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What system are you running Yazi on?
Linux Wayland
What terminal are you running Yazi in?
kitty Version: 0.42.1
yazi --debug
outputDescribe the question
Working on a shell command to run in yazi that restores selected files from the trash, and was wondering if there was a way to pass a notification to yazi similar to the one shown below:
Currently, using
then echo "⚠️ ERROR: This command only works in the trash folder."; echo ""; echo "You are currently in: $PWD"; echo ""; echo "Please navigate to the trash folder first.";
to generate an error message. With this, if I get an error I have to:A momentary toast/notification instead of a 5-step message would be a better experience. Any way of doing this in yazi?
Anything else?
No response
Checklist
Beta Was this translation helpful? Give feedback.
All reactions