You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched through the existing closed and open issues for eww and made sure this is not a duplicate
I have specifically verified that this bug is not a common user error
I am providing as much relevant information as I am able to in this bug report (Minimal config to reproduce the issue for example, if applicable)
Description of the bug
Have a look at the excerpt from my yuck configuration below.
I set out to create a simple wifi connection menu where I list all the wifi networks and upon click on the button "Connect" it will connect to the selected network. Everything works fine except that I also wanted to integrate something like a spinner icon. For that I set up a polling variable that executes a certain python script in intervals of 100ms, whereas the python script will stdout a progression of the spinner symbol in accordance to system time (so it should look reasonably smooth).
However at the same time the yuck script will make another call to a longer running script (nw_connect.py in the below excerpt). It seems to me that as soon as this script is running, the spinner will just halt and be stuck on the last symbol. However I need both scripts to run in parallel. Is there a way to coerce eww in detaching those scripts on multiple threads?
tl;dr:
can't poll variable and execute blocking script at the same time
Checklist before submitting an issue
Description of the bug
Have a look at the excerpt from my yuck configuration below.
I set out to create a simple wifi connection menu where I list all the wifi networks and upon click on the button "Connect" it will connect to the selected network. Everything works fine except that I also wanted to integrate something like a spinner icon. For that I set up a polling variable that executes a certain python script in intervals of 100ms, whereas the python script will
stdout
a progression of the spinner symbol in accordance to system time (so it should look reasonably smooth).However at the same time the yuck script will make another call to a longer running script (
nw_connect.py
in the below excerpt). It seems to me that as soon as this script is running, the spinner will just halt and be stuck on the last symbol. However I need both scripts to run in parallel. Is there a way to coerce eww in detaching those scripts on multiple threads?tl;dr:
can't poll variable and execute blocking script at the same time
Reproducing the issue
Expected behaviour
Poll variable update (
common/spin.py
) happens in 100ms intervals whilewin_networks/nw_connect.py
is executed.Additional context
No response
The text was updated successfully, but these errors were encountered: