|
|
|
@ -35,20 +35,20 @@ Then reboot your machine to make sure the udev rule is applied.
|
|
|
|
|
After the reboot, download a binary from [Releases](https://github.com/k0kubun/xremap/releases).
|
|
|
|
|
|
|
|
|
|
If it doesn't work, please [install Rust](https://doc.rust-lang.org/cargo/getting-started/installation.html)
|
|
|
|
|
and run one of the following commands in this repository and use `target/release/xremap`:
|
|
|
|
|
and run one of the following commands:
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
# X11
|
|
|
|
|
cargo build xremap --release --features x11
|
|
|
|
|
cargo install xremap --features x11
|
|
|
|
|
|
|
|
|
|
# GNOME Wayland
|
|
|
|
|
cargo build xremap --release --features gnome
|
|
|
|
|
cargo install xremap --features gnome
|
|
|
|
|
|
|
|
|
|
# Sway
|
|
|
|
|
cargo build xremap --release --features sway
|
|
|
|
|
cargo install xremap --features sway
|
|
|
|
|
|
|
|
|
|
# Others
|
|
|
|
|
cargo build xremap --release
|
|
|
|
|
cargo install xremap
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
You may also need to install `libx11-dev` to run the `xremap` binary for X11.
|
|
|
|
|