-
-
Notifications
You must be signed in to change notification settings - Fork 382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] deflisten script not working #1056
Comments
I'm not sure it will fix your issue, but you should try printing with |
thanks it worked! but one more thing: in the line below, is it invalid to set the initial value of deflisten as the output of an command?
|
That is indeed invalid! The idea of the initial value is to have some value that shows before any scripts push their first output, thus setting the initial value to some command would mean that eww would still have to wait for the command to finish before being able to proceed with rendering anything. To ensure that your variable is set to a correct value as fast as possible, I recommend just starting out your hypr.py script by running And ye, that |
Checklist before submitting an issue
Description of the bug
I tested my python script to detect workspace change and it works but doesn't work on eww
eww state:
eww.yuck
even after trying another way as seen below it still doesn't work
hypr.py
Reproducing the issue
just change workspaces
Expected behaviour
workspace widget should reflect active workspace on switch
Additional context
Full eww.yuck config:
Full scss:
The text was updated successfully, but these errors were encountered: