Commit Graph

10 Commits

Author SHA1 Message Date
Alessandro Caputo
d9e1d699f5 termux-notification: handle multiline content
fixes termux/termux-api#274
2019-08-07 22:30:35 +02:00
Alessandro Caputo
5065b155dd Implement ongoing, alert-once, group, image-path,
... and media options (type, media-{next,previous,pause,play})

Implement these options introduced in termux-api by
termux/termux-api#209 and not yet present in this script.
2019-08-04 15:35:40 +02:00
Oj18
228bf70487
Fix that notifications that don't have content specified hang
It just sets the content to empty ("") by default, as if there is no content at all it hangs.
2019-03-23 19:02:26 +00:00
Leonid Plyushch
213b102265 termux-notification: more clear description of "--content" option
Requested in https://github.com/termux/termux-api-package/issues/39.
2019-01-15 16:45:25 +02:00
Timothée Mazzucotelli
af7229048d
Fix typo "context" -> "content" 2018-12-03 12:56:51 +01:00
Leonid Plyushch
6d292f04d0 termux-notification: fix typo in usage text 2018-06-05 17:54:13 +03:00
Oliver Schmidhauser
06d4a0bf2f Disable globbing in termux-notification.
Fixes https://github.com/termux/termux-api/issues/120

`termux-notification --content '*'` should mean the content of the
notifiation is `*` and not a list of files. The globbing, if desired,
should be done by the shell starting the process

```
echo * # does globbing
echo '*' does not do globbing

termux-notification --content * # Does globbing (but errors, since this
won't be valid syntax).
termux-notification --content '*' # Does globbing without this patch but
shouldn't

```
2018-02-12 11:30:40 +01:00
Oliver Schmidhauser
3b447e8036 Fix initialisation of variable.
Fixes https://github.com/termux/termux-api/issues/83
2017-04-10 08:31:38 +02:00
Fredrik Fornwall
712e0caf16 termux-notification: Support --on-delete action
This makes it possible to act on the notification being dismissed.

Client side part of https://github.com/termux/termux-api/issues/81
2017-04-09 19:07:53 +02:00
Fredrik Fornwall
1ec1334b54 Initial push 2017-04-09 18:19:29 +02:00