Skip to content

Repository files navigation

hypr-console

A Lenovo Legion Go running Hyprland as a desktop, driven entirely by its controller. No Game Mode and no Plasma: a compositor, a bar, a menu, an on-screen keyboard, panels and a guide, every one of them reachable with two thumbs.

Two things hold it up. desktop.conf is the whole inventory -- packages, files, services, masked units -- and console apply is the only thing that installs any of it, so a restart cannot lose a fix nobody wrote down. And the controller is emulated from a capture of the real one, so what a button does can be tried on a laptop in a second rather than over ssh.

console check / apply / save     where the machine has drifted, put it back,
                                 take a file edited in place back into source
just test / desktop / checks     here, nested at the device's own size, and
                                 every feature it has grown
just deploy                      push it to the device and apply it

The tree

desktop.conf    the whole inventory
files/          the content of every file it names, at the same path
crates/         every program on the device, in one workspace
docs/           why each thing is the way it is
migrations/     what a machine is told when the manifest stops naming something
scenarios/      presses a person would make, replayed
theme/          palette.toml, the one place a colour is chosen
tools/          the lint suite, and what a deploy runs

docs

crates

tools

Licence

AGPL-3.0-or-later, for everything in this repository but one crate. Take it, change it, run it, sell it -- and whoever you hand it to, over a wire as much as on a disk, gets the source of what you handed them under the same terms. That is the whole reason for the choice: what is open here stays open downstream, and a desktop somebody serves rather than ships is not a hole in that.

The exception is crates/console-input-keyboard, which is GPL-3.0-or-later. It is a port of wvkbd and carries the licence it was given; the AGPL is not a later version of the GPL, so it was never ours to move. Its own module comment says so.

The two forks named in docs/forks.md are not here and keep their own.

About

Hyprland as a desktop for Handhelds with controller support.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages