Scripts, programs and configuration for making life easier on a Lenovo Miix running wayland/wlroots or other laptop-tablet convertibles
Yuki Joou
2049494676
This also adds a few lines to the example hooks to toggle between the configs depending on the state of the computer |
||
---|---|---|
configs | ||
daemon | ||
wayland-protos | ||
.clang-format | ||
.gitignore | ||
build.sh | ||
README.md |
convertablet
Support for tablet-laptop convertible on wlroots-based compositors.
This project includes both a daemon for handling screen rotation and docking, and some configuration for other software
Installation
Daemon
- Get the code
git clone https://git.kemonomimi.gay/yukijoou/convertablet && cd convertablet
- Download and build the wayland extensions
cd wayland-protos/
./download_protocols.sh
./codegen.sh
cd ../
- Build the daemon
./build.sh
- Run it to try it out
./convertablet
- Copy it to /usr/local/bin & make it run at startup
Daemon configuration
You can create scripts at $HOME/.config/convertablet/hooks that will trigger on events
- Basestation disconnected: basestation-disconnected-hook
- Basestation connected: basestation-connected-hook
Configurations
Still a work in progress...