Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request]: an option to disable "Task executed: script.sh" toast when running tasks #79

Open
ghost opened this issue May 15, 2022 · 1 comment

Comments

@ghost
Copy link

ghost commented May 15, 2022

Feature description

i'm using termux-toast to show a toast at the top of the screen, but i have to add a delay till this toast disappear and show mine
i saw #33 but it's more like a temporary solution

my idea is adding a config file like ~/.termux/termux.properties but for Termux: Widget
or makes it checks for a file if its exist the toast won't show like ~/.shortcuts/.no-toast

@sudomain
Copy link

+1 because I trigger tasks with Key Mapper and would like to not have a toast. Perhaps there can be a hook (similar to termux-file-editor) called termux-task-output which will let the user decide how to handle the output. We could define a variable, $TASK_OUTPUT, in each individual task and then this hook is where we'd check this variable and decide on different outputs such as:

  1. termux-toast
  2. termux-notification
  3. termux-tts-speak
  4. log to a file using redirection >>
  5. do nothing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants