|
1 | 1 | Gebaar |
2 | 2 | ========= |
3 | 3 |
|
4 | | -WM Independent Gesture Daemon for libinput |
| 4 | +WM Independent Touchpad Gesture Daemon for libinput |
5 | 5 |
|
6 | 6 | _Gebaar means Gesture in Dutch_ |
7 | 7 |
|
| 8 | +Run any command by simply gesturing on your touchpad! |
| 9 | + |
| 10 | +### How to install |
| 11 | + |
| 12 | +- Move gebaard to `/usr/bin` or `~/bin` |
| 13 | +- Run `mkdir -p ~/.config/gebaar` |
| 14 | +- Run `nano ~/.config/gebaar/gebaard.toml` (or vim, if you like it better) |
| 15 | +- Add the following snippet to `gebaard.toml` |
| 16 | + |
| 17 | +```toml |
| 18 | +[commands.swipe.three] |
| 19 | +up = "" |
| 20 | +down = "" |
| 21 | +left = "" |
| 22 | +right = "" |
| 23 | + |
| 24 | +[commands.swipe.four] |
| 25 | +up = "" |
| 26 | +down = "" |
| 27 | +left = "" |
| 28 | +right = "" |
| 29 | +``` |
| 30 | +- Configure commands to run per direction |
| 31 | +- Run it in some startup file via `gebaard -b` |
| 32 | + |
| 33 | +### Examples |
| 34 | + |
| 35 | +**bspwm** |
| 36 | + |
| 37 | +_~/.config/gebaar/gebaard.toml_ |
| 38 | +```toml |
| 39 | +[commands.swipe.three] |
| 40 | +up = "bspc node -f north" |
| 41 | +down = "bspc node -f south" |
| 42 | +left = "bspc node -f west" |
| 43 | +right = "bspc node -f east" |
| 44 | + |
| 45 | +[commands.swipe.four] |
| 46 | +up = "rofi -show combi" |
| 47 | +down = "" |
| 48 | +left = "bspc desktop -f prev" |
| 49 | +right = "bspc desktop -f next" |
| 50 | +``` |
| 51 | + |
| 52 | +Add `gebaard -b` to `~/.config/bspwm/bspwmrc` |
| 53 | + |
8 | 54 | ### State of the project |
9 | 55 |
|
10 | 56 | - [x] Receiving swipe events from libinput |
11 | 57 | - [ ] Receiving pinch/zoom events from libinput |
12 | 58 | - [ ] Receiving rotation events from libinput |
13 | 59 | - [x] Converting libinput events to motions |
14 | | -- [ ] Running commands based on motions |
15 | | -- [ ] Refactor code to be up to Release standards, instead of testing-hell |
16 | | - |
17 | | -### Screenshots of debug/testing output |
| 60 | +- [x] Running commands based on motions |
| 61 | +- [x] Refactor code to be up to Release standards, instead of testing-hell |
18 | 62 |
|
19 | | - |
|
0 commit comments