Emmanuel Lepage Vallée
3bd777f61a
Revert "naughty.widget: xml_escape message and title text"
2020-03-05 01:38:27 -05:00
Unai Fernández
6934efdd32
naughty.widget: xml_escape message and title text
...
fixes empty notifications when special characters like '&' are used
2020-03-04 19:32:13 +01:00
Emmanuel Lepage Vallee
207efe318a
doc: Upgrade the notification documentation to the latest standards.
2020-02-10 04:13:17 -05:00
Emmanuel Lepage Vallee
2ff4a5294c
naughty.widget.icon: Use `surface.load_silently`.
...
Icons can be names from the icon theme. This wont load until a better
icon theme API is added (since this module doesn't depend on menubar).
2019-08-03 01:45:22 -04:00
Emmanuel Lepage Vallee
a91e2e7378
notification: Fix typos in signal names.
...
Updating notifications would not work because, among other things,
the signals names had a typo (all of them...).
2019-07-09 01:23:11 -04:00
Emmanuel Lepage Vallee
6e50ee2a41
naughty: Add a shared default widget_template for the notifications.
...
This will be shared by the notifications stored in a wibox/wibar and the
ones using a popup. It extends the constraint and margins container
to take care of some boilerplate code. While other widgets have their
own public API, those 2 are private since they are not different enough
to warrent a new public module.
2019-06-08 18:56:08 -04:00
Emmanuel Lepage Vallee
cf364a7b35
naughty: Add a `message` widget.
...
It tracks the notification message.
2019-06-08 18:56:08 -04:00
Emmanuel Lepage Vallee
f31afd8cb7
naughty: Add an icon widget.
...
This tracks the notification icon and add some resize strategies.
2019-06-08 18:56:08 -04:00
Emmanuel Lepage Vallee
3592d33b6c
naughty: Add a title widget.
...
It is a normal textbox with some extra boilerplate code. Having this
in a separate widget allows the notification to be defined from rc.lua
without a ton of beautiful options and connect_signal.
2019-06-08 18:56:08 -04:00
Emmanuel Lepage Vallee
916b49bde0
naughty: Add an actionlist widget.
...
This widget allows to use the actions without all the boilerplate
code associated with managing a list.
2019-06-08 18:56:08 -04:00