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

Not able to find slab/init.scss and slab/init.yuck in eww. #3

Closed
shauryagoel opened this issue Nov 6, 2022 · 11 comments
Closed

Not able to find slab/init.scss and slab/init.yuck in eww. #3

shauryagoel opened this issue Nov 6, 2022 · 11 comments
Assignees

Comments

@shauryagoel
Copy link

shauryagoel commented Nov 6, 2022

Hi @beyond9thousand, thanks for the wonderful dotfiles. I was trying to use your eww configuration in my setup, but, can't find the slab directory, which is imported inside eww.yuck. Do we need to get this directory from somewhere else?

@beyond9thousand
Copy link
Owner

That is not very descriptive, you will need to share a screenshot to show what you mean by bad looking

@shauryagoel
Copy link
Author

image

This is after removing the (include "./yuck/slab/init.yuck") line in eww.yuck.

@beyond9thousand
Copy link
Owner

My best guess is that you might be missing the necessary fonts

@beyond9thousand
Copy link
Owner

Thanks for bringing this to my notice, it is a widget that I have not yet finished writing (barely begun), and therefore did not back it up to my repo. I'm assuming it causes eww to not be able to launch?

@shauryagoel
Copy link
Author

Yeah, it doesn't launch. However, after commenting the line in eww.yuck, I get a very bad looking bar.

@beyond9thousand beyond9thousand self-assigned this Nov 6, 2022
@shauryagoel
Copy link
Author

I am sure I have installed all of the desired fonts. Moreover, is it a font issue?

@beyond9thousand
Copy link
Owner

Looks to me like a font issue
image

@shauryagoel
Copy link
Author

I have all the fonts installed which are mentioned in the README and also in eww directory. Still I am facing the same issue. I start eww daemon using eww daemon and start the taskbar using eww open taskbar as mentioned in the file .bin/control_box in -ewwopen case.

@beyond9thousand
Copy link
Owner

I am using an outdated version of JetBrains nerd font (deliberately), can you check if using that resolves the issue? The reason for doing this is super specific, you can refer this issue to see why. These are the two packages on my system.

local/nerd-fonts-jetbrains-mono-160 2.1.0-1
    A Nerd Font patched version of JetBrains Mono, version with patched nbsp
local/ttf-jetbrains-mono 2.242-2
    Typeface for developers, by JetBrains

@shauryagoel
Copy link
Author

So I installed both the fonts which you mentioned, but, it was still showing the same bar. However, after noticing that in eww.scss there was a slab import at line 48, I commented that part and now everything is working as expected.

Once again thanks for your configuration. I will be eagerly waiting for your slab modules.

@beyond9thousand
Copy link
Owner

beyond9thousand commented Nov 6, 2022

I updated the repo to include the two folders since you first opened this issue, so removing those comments should work just as well. Regardless, glad you were able to solve your problem

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

2 participants