From c8561bf4ff30bd32bbfd16306a138921b11c39ef Mon Sep 17 00:00:00 2001 From: S4NKALP Date: Fri, 29 May 2026 16:01:16 +0545 Subject: [PATCH] docs(root):update README with new installation methods and project manifest --- README.md | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index eefb26a..2bed020 100644 --- a/README.md +++ b/README.md @@ -35,27 +35,28 @@ Built for speed and simplicity, it talks directly to your system's hardware inte #### Option 1: Arch Linux (AUR) ```bash -yay -S lapctl +yay -S lapctl-bin +sudo lapctl install-rules ``` -#### Option 2: Using `just` (Recommended for other distros) - -If you have [just](https://github.com/casey/just) installed: +#### Option 2: crates.io ```bash +cargo install lapctl +sudo lapctl install-rules +``` + +#### Option 3: From source (using `just`) + +```bash +git clone https://github.com/S4NKALP/lapctl.git +cd lapctl just install sudo lapctl install-rules ``` _The `install-rules` command automatically sets up the D-Bus policy and starts the `lapctld` background service._ -#### Option 3: Using `cargo` - -```bash -cargo install --path . -sudo lapctl install-rules -``` - #### Requirements - **GPU Switching (Optional)**: `xrandr` and `nvidia-settings` are strictly required **ONLY** when using the `lapctl gpu` command on X11 (to route proprietary NVIDIA Optimus drivers). Wayland is auto detected so no extra flags are needed.