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

Feature request: Wayland support #8

Closed
illiliti opened this issue Aug 18, 2020 · 13 comments
Closed

Feature request: Wayland support #8

illiliti opened this issue Aug 18, 2020 · 13 comments

Comments

@illiliti
Copy link

No description provided.

@dudik
Copy link
Owner

dudik commented Aug 18, 2020

I never really used Wayland, but I might look into it. Could you give me some information about what happened when you tried herbe on Wayland? Some error message or what was the problem. Did you try to fix it? I heard good things about XWayland.

@illiliti
Copy link
Author

Theoretically, it will work with XWayland, but not pure Wayland. In case of pure Wayland we need to detach from X11-specific dependencies(e.g by using ifdef's) and implement notification drawing via Wayland interfaces(see mako). This requires significant work especially if you're not familiar with Wayland. I didn't try to implement anything because you said that code frequently changes and better to wait stable state

@dudik
Copy link
Owner

dudik commented Aug 19, 2020

I think this would be a project on its own. And I'm sorry, but I don't really think it's my priority right now. Even after I finish herbe, I will still have little interest in Wayland so a port is unlikely. I can try to help you with a patch or something, but for me it would be a completely new environment.
Just out of curiosity, why do you use Wayland? Is it better security? And did you encounter any issues while using it? I would love to move to a more secure and overall better display server, but right now I feel like Wayland is a few years away from being done. Maybe I'm just being ignorant.

@illiliti
Copy link
Author

Wayland(especially sway) is pretty stable and usable nowadays. It is really faster than Xorg, has less dependencies and imho much more suckless. I didn't encounter major issues while using it, maybe because my setup is very minimal :) . The only downside i found is lacking suckless notification system!!! 😆 . I recommend you to try sway, but don't forget about dwl, velox, hikari, ...

@dudik
Copy link
Owner

dudik commented Aug 19, 2020

I might give it a try as my setup is also pretty minimal. I didn't really think about Wayland mainly because the suckless and OpenBSD guys didn't either. I'll just have to give it a try and see. Thanks!

@dudik dudik closed this as completed Aug 19, 2020
@Vixeliz
Copy link

Vixeliz commented Sep 14, 2020

I don't mean to bump this but I use wayland and would be interested in trying to port this myself.

@dudik
Copy link
Owner

dudik commented Sep 15, 2020

A Wayland port would be great. Sadly I won't be able to help as I still haven't used Wayland at all.

@Vixeliz
Copy link

Vixeliz commented Sep 17, 2020

I have started working on this. I don't have it working yet but here it is https://github.com/muevoid/herbew

Not sure if it's ok to post this here.
And if you'd like me to change the name just let me know.

@dudik
Copy link
Owner

dudik commented Sep 17, 2020

Of course it's ok. The name is also fine. Tell me when you feel like it's finished, I will put a link in the README. Take your time and thank you for working on it. :)

@Vixeliz
Copy link

Vixeliz commented Sep 19, 2020

Just a little update at this. I renamed it to wayherb so it now lives here:
https://github.com/muevoid/wayherb

It is pretty close to being done just text is left for the most part I will post here when It is fully done I am hoping by tommorow.

@Vixeliz
Copy link

Vixeliz commented Sep 19, 2020

New update I would say it is ready for basic use. Doesn't support multiple arguments or lines yet. But otherwise it acts the same. I am hoping to get those done tommorow and implemented.

Edit:
Here is a recording showing off what I have.
https://imgur.com/a/AHFeLPS

@dudik
Copy link
Owner

dudik commented Sep 21, 2020

Looks great! I mentioned the port in the README. Thanks again.

@Vixeliz
Copy link

Vixeliz commented Sep 21, 2020

Thanks for such a cool program in the first place! It was a pleasure to port to wayland.

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