YaLTeR / niri

A scrollable-tiling Wayland compositor.
https://matrix.to/#/#niri:matrix.org
GNU General Public License v3.0
3.78k stars 113 forks source link

Publish on crates.io to allow "cargo install niri" #68

Open hardBSDk opened 11 months ago

YaLTeR commented 11 months ago

While this is a valid thing you can do, it's not really how you want to install a Wayland compositor. You need not just the binary, but the session and desktop files installed in the correct system folders, so niri shows up in your login manager. cargo install cannot do that.

tversteeg commented 11 months ago

Wouldn't this make sense for cases where people run it directly from a TTY and not using a login manager (as I do)?

YaLTeR commented 11 months ago

It would, yeah. Honestly I'm thinking more about versioning. Since there's no release and updating a crate every commit sounds tedious and like a bad idea.

Although now that a considerable amount of stuff is implemented maybe I should tag an alpha version and put that up as a crate or something.

YaLTeR commented 11 months ago

Hm, it seems that things published on crates.io cannot use git dependencies, so this will have to wait until the next Smithay release.