You are not logged in.

#376 2015-05-31 08:49:23

okraits
Member
From: Germany
Registered: 2006-03-02
Posts: 142
Website

Re: dunst - a dmenu-ish notification daemon

What is the benefit of using

notify-send -h int:value:42

with dunst? Because the value is displayed as text anyway. Or am i missing anything?

Offline

#377 2015-06-17 08:00:12

hobarrera
Member
From: The Netherlands
Registered: 2011-04-12
Posts: 355
Website

Re: dunst - a dmenu-ish notification daemon

okraits wrote:

What is the benefit of using

notify-send -h int:value:42

with dunst? Because the value is displayed as text anyway. Or am i missing anything?

notify-send -h int:value:42 adsf

Seems to show "asdf" as the title, and "42" between brackets with a percentage sign at the end.

Offline

#378 2015-07-08 07:40:04

Hund
Member
From: Sweden
Registered: 2010-03-22
Posts: 479
Website

Re: dunst - a dmenu-ish notification daemon

Is it possible to set the total amount of notifications that can be shown at the same time? Sometimes when I get a lot of notifications I just tells me there are X more but I can see them.

Offline

#379 2015-07-28 17:37:02

mot.def
Member
Registered: 2011-07-03
Posts: 19

Re: dunst - a dmenu-ish notification daemon

Is it possible to give Dunst notifications unique X classes?

Offline

#380 2019-01-06 06:54:12

pyarch
Member
Registered: 2011-09-30
Posts: 169

Re: dunst - a dmenu-ish notification daemon

Is it possible to send reply in dunst.
Can someone point any good resource where I can use python(or any language) to trigger a reply or option menu in dunst?

Offline

#381 2019-01-07 16:05:55

Hund
Member
From: Sweden
Registered: 2010-03-22
Posts: 479
Website

Re: dunst - a dmenu-ish notification daemon

mot.def wrote:

Is it possible to give Dunst notifications unique X classes?

Do you mean like a PID to replace a notification with itself? If so, yes.

dunstify -r <Number>
pyarch wrote:

Is it possible to send reply in dunst.
Can someone point any good resource where I can use python(or any language) to trigger a reply or option menu in dunst?

Kinda, it supports context menus. I couldn't find any documentation about it though.

Last edited by Hund (2019-01-07 16:06:29)

Offline

#382 2019-01-07 18:20:07

progandy
Member
Registered: 2012-05-17
Posts: 5,180

Re: dunst - a dmenu-ish notification daemon

pyarch wrote:

Is it possible to send reply in dunst.
Can someone point any good resource where I can use python(or any language) to trigger a reply or option menu in dunst?

dunst has two hotkeys, one for a dmenu with urls and one for actions. If a notification has actions, then the prefix "(A)" is added to the notification, if it has URLs, then "(U)" is added or "(AU)" for both.

dunstify --action "yes,Accept" --action "no,Decline" "Action test" "Open the dmenu with the hotkey set for 'context' in your dunstrc"

As for creating actions with python, you can look into using GNotification or libnotify with gobject introspection

Last edited by progandy (2019-01-07 18:23:54)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

Board footer

Powered by FluxBB