-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
Add support to notify the user when a command has finished #250
Comments
I started tinkering with a "bezel" notification earlier. Screen.Recording.2023-06-05.at.15.57.54.mov |
It would be nice if you could make the notification state something, or even get the output from a terminal or script command. So if you toggle, Let's say "Lower power mode" via a shell script, it would get the output from the command and use that to indicate to the user if the command was toggle on or off. This could be a really neat improvement. |
Perhaps we could consider adding a HUD module, similar to the HUD window that appears on macOS when adjusting volume. The content, position, and styles of the HUD could be fully customizable by the user. This module could be appended to existing commands, functioning like a pipeline. It would execute after the preceding command or module, allowing the HUD to display relevant information, outputs, or predefined text. I frequently use a similar feature in Hammerspoon to notify me when a specific operation has been completed. It's quite similar to the bezel video approach mentioned above, but with greater flexibility. |
if it helps in something, i find the Raycast notification really good and not disruptive at all. it looks like it aligns with your thinking. video of notification when copying the link of browser tab: https://share.cleanshot.com/pSBxZ8jB |
Started playing around with a new notification option. notifications.mov |
Screen.Recording.2025-01-20.at.23.35.21.movHere's the first draft of the implementation! :) The blue color is the accent color that the user has chosen, so it will match your system preferences. |
awesome!! |
Is this prompt box a standalone component that can follow any command execution? |
@FischLu You can set up the commands to send notifications when they're running and when they're finished. Especially useful for long-running tasks, like Apple scripts or shell scripts. |
When configuring a command, the user can check a box called
Notify
.Right now it doesn't do anything, so we should really implement this feature 🤡
It is undecided what this should look like, and where it should appear.
Perhaps we should consider configuring what kind of notification should appear:
front and center
|notification center
|show keystrokes
The text was updated successfully, but these errors were encountered: