xenrox has quit [Remote host closed the connection]
xenrox has joined #foot
<dnkl>
alright, I'm working on a patch where:
<dnkl>
foot considers the notification dismissed when the notification command returns
<dnkl>
and treats anything printed on stdout as an activation token
<delthas>
"there aren't any technical issues anyway" -> not sure how we'd do it from foot though if we don't do dbus stuff ourselves? theres no way to dismiss a notification with notify-send, or is there?
<dnkl>
ah, no, you're right
<dnkl>
one could maybe use --replace and set a small --expire-time 🤣
<dnkl>
oh, and I'm throwing in icon support in my implementation of OSC99
<dnkl>
(I=symbolic name)
<delthas>
also is the notification "closed" when the user clicks on it?
<dnkl>
delthas: <dnkl> foot considers the notification dismissed when the notification command returns
<dnkl>
if you use notify-send, you can add --wait to achieve this
<delthas>
yeah, but i'm wondering if clicking the notification closes it
<dnkl>
--wait will be added to foot's default configuration
<dnkl>
that's up to the notification daemon
<delthas>
ok yeah it does on gnome. nice
<dnkl>
delthas: anyway, I still don't see a problem with adding it to the protocol
<dnkl>
there are alternatives to notify-send that has everything we need
<dnkl>
for example, dunstify supports waiting, reporting the ID, and closing a notification
mtm has quit [Ping timeout: 260 seconds]
mtm has joined #foot
<Consolatis>
<dnkl> and treats anything printed on stdout as an activation token
<Consolatis>
maybe we could prefix it with xdgtoken: or something, that allows to use it for something else in the future as well
<Consolatis>
otherwise notification stdout can only ever be used for this purpose and nothing else
<dnkl>
I'll consider it. Regardless, I'm going to put in a warning that the expected format may change in the future
<dnkl>
might want to use stdout for the notification ID too, if we want to support dismissal in the future
trygveaa has quit [Ping timeout: 245 seconds]
trygveaa has joined #foot
cbb has joined #foot
travankor has quit [Remote host closed the connection]