notify-send.sh
notify-send.sh copied to clipboard
--action blocks until button is pressed or notification expires
My use case:
- Take a screenshot
- Show a notification using this library saying it's uploading to hosting service, show a button to copy the raw image to clipboard in meantime
- When done uploading, replace the original notification with one containing 2 buttons: one to copy the url of the image and one to copy raw image
Issue: notify-send with --action parameter won't return until action is triggered or notification expires. This means I can't start uploading the image until one of either happens.
this one fixes that https://github.com/bkw777/notify-send.sh this one probably works too https://github.com/M3TIOR/notify-send.sh