Skip to content
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

Bar-concept error #1

Open
CRAG666 opened this issue Feb 26, 2022 · 7 comments
Open

Bar-concept error #1

CRAG666 opened this issue Feb 26, 2022 · 7 comments

Comments

@CRAG666
Copy link

CRAG666 commented Feb 26, 2022

error: Unknown widget children referenced
┌─ /home/crag/Git/dotfiles/swaywm/eww/eww.yuck:87:8

87 │ (children :nth 1))))
│ ──────── Used here

@druskus20
Copy link
Owner

Eww is not recognizing the keyword children. Make sure that you're using the latest eww version, as far as I know, children widgets were merged into master a while ago.

@CRAG666
Copy link
Author

CRAG666 commented Mar 1, 2022

@druskus20 Yes it recognizes children but not that line, I have tried other widgets with that word and they work, even others from you and they work perfectly. I checked my version and indeed I have the newest version.

@CRAG666
Copy link
Author

CRAG666 commented Mar 1, 2022

Only this widget does not seem to work :(

@runarsf
Copy link

runarsf commented Apr 2, 2022

Encountered the same issue (eww 1.2.0).
From what I could gather it looks like eww doesn't support using children when the widget that expects children to be present is used in another widget definition.
I ended up making a separate widget for left/right/left+right revealers which solved the issue.

@CRAG666
Copy link
Author

CRAG666 commented Apr 2, 2022

Encountered the same issue (eww 1.2.0). From what I could gather it looks like eww doesn't support using children when the widget that expects children to be present is used in another widget definition. I ended up making a separate widget for left/right/left+right revealers which solved the issue.

Could you provide me with that, I would like to be able to use it. I would greatly appreciate it

@runarsf
Copy link

runarsf commented Apr 2, 2022

Encountered the same issue (eww 1.2.0). From what I could gather it looks like eww doesn't support using children when the widget that expects children to be present is used in another widget definition. I ended up making a separate widget for left/right/left+right revealers which solved the issue.

Could you provide me with that, I would like to be able to use it. I would greatly appreciate it

Sure thing, I've added the working widgets to my dotfiles. The relevant widgets begin with hover-, you can see how I've used them in the modules widget. Might need to grab the accompanying css as well.
Feel free to send me a message if you want further help.

@CRAG666
Copy link
Author

CRAG666 commented Apr 4, 2022

@runarsf thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants