convertablet/README.md
Yuki Joou 813aa15886 configs: Added example hooks for the daemon
This commit also adds documentation for hooks to the README
2023-07-14 20:14:51 +02:00

887 B

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

  1. Get the code
git clone https://git.kemonomimi.gay/yukijoou/convertablet && cd convertablet
  1. Download and build the wayland extensions
cd wayland-protos/
./download_protocols.sh
./codegen.sh
cd ../
  1. Build the daemon
./build.sh
  1. Run it to try it out
./convertablet
  1. 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...