eonpatapon / mpDris2

MPRIS V2.1 support for mpd
GNU General Public License v3.0
210 stars 46 forks source link

notifications with urgency setting #106

Closed pirateland closed 5 years ago

pirateland commented 5 years ago

By default mpDris2 pushes with medium urgency, but I think it would be nice (especially for people with a certain rice) to be able to set the urgency for the notifications. The line for setting the urgency is easy (see below), but since it would require to add another configuration option (something like notify_urgency. x is 0 for low, 1 for medium and 2 for high. self._notification.set_urgency(x)

eonpatapon commented 5 years ago

Can you propose a patch for this ?

pirateland commented 5 years ago

See #108