Update README and increment version

This commit is contained in:
Rico Tiongson 2019-03-15 09:49:58 +08:00
parent 810a20f1ed
commit 1780cf3112
4 changed files with 18 additions and 5 deletions

View File

@ -15,7 +15,7 @@ Comfortable, seamless, and fast 3-finger (and 4-finger) touchpad swipe gestures
```bash
git clone https://github.com/Hikari9/comfortable-swipe.git --depth 1
cd comfortable-swipe-ubuntu
cd comfortable-swipe
```
3. Install
@ -24,7 +24,7 @@ Comfortable, seamless, and fast 3-finger (and 4-finger) touchpad swipe gestures
bash install
```
4. You may delete the downloaded `comfortable-swipe-ubuntu` folder after installation.
4. You may delete the downloaded `comfortable-swipe` folder after installation.
## How to Run
@ -126,4 +126,15 @@ Download the `uninstall` script then run `bash uninstall`
## Bug Reports
Create an issue [here](https://github.com/Hikari9/comfortable-swipe-ubuntu/issues/new) to report a bug.
Create an issue [here](https://github.com/Hikari9/comfortable-swipe/issues/new) to report a bug.
Please include the output of the following:
```
lsb_release -a
g++ --version
xinput list | grep touchpad -i
lsmod | grep hid
comfortable-swipe start # if you can run it
comfortable-swipe debug # screenshot / first few lines
cat $(comfortable-swipe config)
```

1
VERSION Normal file
View File

@ -0,0 +1 @@
v1.0.3

View File

@ -1,2 +1,3 @@
#!/bin/sh
g++ $(dirname $0)/comfortable-swipe.cpp -std=c++11 -O2 -lxdo -Wno-unused-result -o $1
dir="$(dirname $0)"
g++ "$dir/comfortable-swipe.cpp" -std=c++11 -O2 -lxdo -Wno-unused-result -o -DCOMFORTABLE_SWIPE_VERSION="$(cat $dir/VERSION)" "$1"

View File

@ -30,7 +30,7 @@ namespace comfortable_swipe::service
void help()
{
using comfortable_swipe::util::conf_filename;
std::puts("comfortable-swipe [start|stop|restart|autostart|buffer|help|config|debug|status]");
std::puts("comfortable-swipe " COMFORTABLE_SWIPE_VERSION " [start|stop|restart|autostart|buffer|help|config|debug|status]");
std::puts("");
std::puts("start - starts 3/4-finger gesture service");
std::puts("stop - stops 3/4-finger gesture service");