druskus20 / eugh

The various eww configs that I've made
MIT License
158 stars 6 forks source link

Bar-concept error #1

Open CRAG666 opened 2 years ago

CRAG666 commented 2 years ago

error: Unknown widget children referenced ┌─ /home/crag/Git/dotfiles/swaywm/eww/eww.yuck:87:8 │ 87 │ (children :nth 1)))) │ ──────── Used here

druskus20 commented 2 years ago

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 commented 2 years ago

@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 commented 2 years ago

Only this widget does not seem to work :(

runarsf commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

@runarsf thanks