Skip to content

Commit 62262b9

Browse files
committed
CMake Version Lowered to 3.12.1 and Compilation Instructions added
1 parent 8bac41f commit 62262b9

File tree

1 file changed

+18
-7
lines changed

1 file changed

+18
-7
lines changed

README.md

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,24 @@ Run any command by simply gesturing on your touchpad!
1414

1515
This piece of software directly interfaces with libinput to parse the events, this is both more stable and faster.
1616

17+
### How to build from source
18+
19+
1. Clone the repository
20+
2. Run `git submodule update --init` in the root folder
21+
3. Run `mkdir build && cd build`
22+
4. Run `cmake ..`
23+
5. Run `make -j$(nproc)`
24+
6. Follow install instructions below from Step 2
25+
1726
### How to install
1827

19-
- Grab the [latest release!](https://github.com/Coffee2CodeNL/gebaar-libinput/releases/latest)
20-
- Move gebaard to `/usr/bin` or `~/bin`
21-
- Run `mkdir -p ~/.config/gebaar`
22-
- Run `nano ~/.config/gebaar/gebaard.toml` (or vim, if you like it better)
23-
- Add the following snippet to `gebaard.toml`
28+
1. Grab the [latest release!](https://github.com/Coffee2CodeNL/gebaar-libinput/releases/latest)
29+
2. Move gebaard to `/usr/bin` or `~/bin`
30+
3. Run `mkdir -p ~/.config/gebaar`
31+
4. Run `nano ~/.config/gebaar/gebaard.toml` (or vim, if you like it better)
32+
5. Add the snippet below to `gebaard.toml`
33+
6. Configure commands to run per direction
34+
7. Run Gebaar in some startup file via `gebaard -b`
2435

2536
```toml
2637
[commands.swipe.three]
@@ -35,8 +46,8 @@ down = ""
3546
left = ""
3647
right = ""
3748
```
38-
- Configure commands to run per direction
39-
- Run it in some startup file via `gebaard -b`
49+
50+
4051

4152
### Examples
4253

0 commit comments

Comments
 (0)