Hello,

Have a look at the conversation "Mouse callback not working for cal..." of Mars 20th.

I guess it's the same behavior : the terminal opens, launches the command, the command ends, the terminal closes. Too fast for our eyes ;)


Le 12/05/2021 à 21:25, Mohseen Ramjan a écrit :
Hi,
here is the code for the above:

widget.Image(
filename= "~/.config/qtile/icons/linx.png",
mouse_callbacks= {'Button1': lambda: qtile.cmd_spawn(myTerm + ' -e duf')},

What happens is that a window briefly opens but closes without showing the output of duf.
Any ideas what's happening?

Thanks.
--
You received this message because you are subscribed to the Google Groups "qtile-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/qtile-dev/4dd22694-111f-4157-bb84-aac64a44f0aen%40googlegroups.com <https://groups.google.com/d/msgid/qtile-dev/4dd22694-111f-4157-bb84-aac64a44f0aen%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups 
"qtile-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qtile-dev/f7178f07-88c9-573c-a2c7-3c452bb92ba5%40gmail.com.

Reply via email to