Skip to content

Recommended way to find a filename prior to polling it for the defpoll variable? #314

Answered by elkowar
Animeshz asked this question in Q&A
Discussion options

You must be logged in to vote

I don't think there is currently any easy way to do this in pure eww. However, given that script-vars are just shell scripts, I think they should be able to read any environment variables that are available when the eww daemon is launched. Thus, you should be able to export your variables as environment variables for the eww daemon, and then just refer to them as normal env vars in your yuck configuration scripts.

Haven't actually tried this, but I don't see any reason for it not to work.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Animeshz
Comment options

Answer selected by Animeshz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants