Open Toqozz opened 3 years ago
The desktop notifications spec says that the urgency hint should be of type byte, but it seems to be pushing an i32: https://github.com/crabvk/notify-call/blob/de954671d21ba684b59b433c5b98439644e6eba6/src/main.rs#L67
urgency
byte
i32
This is probably solved by just casting as u8 instead.
u8
I'm not sure if this is the case in general, but my notification daemon won't pick up the urgency hint from notify-call because it's trying to grab a byte (u8) and gets an i32 instead. I suspect this is true for dunst as well: https://github.com/dunst-project/dunst/blob/cf091bea37c2567d63a45ee6e1e0d07cbd6e7ff3/src/dbus.c#L370
notify-call
Thank you for reporting the issue, it should be fixed now.
The desktop notifications spec says that the
urgency
hint should be of typebyte
, but it seems to be pushing ani32
: https://github.com/crabvk/notify-call/blob/de954671d21ba684b59b433c5b98439644e6eba6/src/main.rs#L67This is probably solved by just casting as
u8
instead.I'm not sure if this is the case in general, but my notification daemon won't pick up the urgency hint from
notify-call
because it's trying to grab abyte
(u8
) and gets ani32
instead. I suspect this is true for dunst as well: https://github.com/dunst-project/dunst/blob/cf091bea37c2567d63a45ee6e1e0d07cbd6e7ff3/src/dbus.c#L370