baskerville / bspwm

A tiling window manager based on binary space partitioning
BSD 2-Clause "Simplified" License
7.78k stars 415 forks source link

Anymore thoughts on Wayland? #1068

Closed Th3Whit3Wolf closed 4 years ago

Th3Whit3Wolf commented 4 years ago

Almost 5 years ago you said if you were to rewrite bspwm for wayland you would write it in rust.

I am curious if you have given this anymore thought? I love the rust programming language and am newish to bspwm but I really like it too. Especially as an alternative window manager for KDE plasma. I would help in anyway I could to support a rusty Wayland BSPWM.

smhsketch commented 4 years ago

+1 on this. I was really excited to find it was in the making, the only thing stopping me from moving to wayland is the lack of bspwm

cjk commented 4 years ago

Yep, wayland-support + being based on Rust (i.e. fast, secure, stable) + fully customizable tiling-WM would mean a breakthrough for this package. Bspwm could become one of the top WMs out there.

maxdeviant commented 4 years ago

Let me preface this by saying that I would love to see a port/rewrite of bspwm for Wayland, and I would love it even more if it were written in Rust.

That said, this isn't something that happens overnight. A full rewrite of bspwm is a sizable effort even before taking into account the switch to Wayland. From what I understand, Wayland support in Rust is still very much a work-in-progress.

One of the other Rust-based Wayland WMs mentioned in the other thread, Way Cooler, was declared dead at the beginning of this year. Additionally, the Rust-based Wayland compositor Way Cooler was built on, wlroots-rs was also abandoned.

Right now the best option appears to be Smithay, but I cannot speak to its maturity as a library. The author of Way Cooler did have this to say:

Smithay is very incomplete. Very, very incomplete compared to wlroots. It is no where near usable and the current trajectory doesn’t look like it will be usable very soon either. wlroots is a great framework and has a strong backing in the community so I don’t see the need to abandon it just so I can keep using Rust.

I certainly can't speak for @baskerville; I don't know if they will agree with me entirely or not, but I think that biding our time and waiting for Wayland support to mature in Rust will only make things easier for if/when we decide to pursue this.

jallbrit commented 4 years ago

This issue is a duplicate of #199, just as you mentioned in the issue description. It would be detrimental for further discussion to be fragmented between the 2 issues, and I recommend that you close this issue @Th3Whit3Wolf.