smach has quit [Remote host closed the connection]
smach has joined #foot
mannerism has quit [Quit: leaving]
mannerism has joined #foot
tprepper has joined #foot
xenrox has quit [Remote host closed the connection]
xenrox has joined #foot
rcf has quit [Quit: WeeChat 3.8-dev]
rcf has joined #foot
bgs has joined #foot
smach has quit [Remote host closed the connection]
bgs has quit [Remote host closed the connection]
anarcat has quit [Ping timeout: 252 seconds]
anarcat has joined #foot
anarcat has quit [Ping timeout: 268 seconds]
anarcat has joined #foot
anarcat has quit [Ping timeout: 252 seconds]
anarcat has joined #foot
anarcat has quit [Ping timeout: 268 seconds]
anarcat has joined #foot
pants has quit [Quit: bye]
pants has joined #foot
talismanick has quit [Ping timeout: 260 seconds]
anarcat has quit [Ping timeout: 248 seconds]
anarcat has joined #foot
anarcat has quit [Ping timeout: 264 seconds]
anarcat has joined #foot
kraftwerk28_ has quit [Quit: *disconnects*]
kraftwerk28 has joined #foot
<anarcat>
dnkl: ah! i *knew* i had seen this somewhere... didn't find it in the FAQ!
<anarcat>
thanks!
rcf1 has joined #foot
rcf has quit [Killed (NickServ (GHOST command used by rcf1!~rcf@mab.sdf.org))]
rcf1 is now known as rcf
rcf1 has joined #foot
rcf1 has quit [Quit: WeeChat 3.4.1]
alexherbo2 has joined #foot
<Consolatis>
I am currently playing around with xdg_activation, I am aware that foot a) requests and forwards a token before calling xdg-open b) uses the protocol without setting a serial to try to activate itself. However b) might not work if the compositor does focus-stealing-prevention, e.g. only creates valid tokens when the requester had the focus while requesting the token.
<Consolatis>
But as foot is also capable of sending desktop notifications by calling an external command and the same could be done by user configuration when seeing a BELL character, I wonder if that could be enhanced to asynchronously read the output of the spawed application and then use that output (or part of it) as an xdg_activation token to activate itself.
<Consolatis>
that would allow foot to execute a command which spawns a notification, wait for a xdg_activation token when the user clicks on the notification and then try to active itself
<Consolatis>
and all that without having to depend on dbus
<Consolatis>
really bad example how to get the activation token on click of the notification: G_MESSAGES_DEBUG=all notify-send --action=default="Activate Foot" header body
<Consolatis>
but there is nothing stopping anybody to write a small tool that has a sane output, it would just be a question for foot to define a format that i can easily parse
<Consolatis>
it*
<Consolatis>
e.g. more like G_MESSAGES_DEBUG=all notify-send --action=default="foobar barfoo" header body | sed -n '/Activation Token/ s/^.*Activation Token: \(.*\)$/\1/ p'