From 1780cf31129612d6f0bfe96902f984b3c7ab8387 Mon Sep 17 00:00:00 2001 From: Rico Tiongson Date: Fri, 15 Mar 2019 09:49:58 +0800 Subject: [PATCH] Update README and increment version --- README.md | 17 ++++++++++++++--- VERSION | 1 + comfortable-swipe.compile.sh | 3 ++- lib/service/help.cpp | 2 +- 4 files changed, 18 insertions(+), 5 deletions(-) create mode 100644 VERSION diff --git a/README.md b/README.md index 57d13fa..249d80b 100644 --- a/README.md +++ b/README.md @@ -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) +``` diff --git a/VERSION b/VERSION new file mode 100644 index 0000000..79ff5a5 --- /dev/null +++ b/VERSION @@ -0,0 +1 @@ +v1.0.3 diff --git a/comfortable-swipe.compile.sh b/comfortable-swipe.compile.sh index d839b64..4f5c80c 100755 --- a/comfortable-swipe.compile.sh +++ b/comfortable-swipe.compile.sh @@ -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" diff --git a/lib/service/help.cpp b/lib/service/help.cpp index 80c2c85..9654132 100644 --- a/lib/service/help.cpp +++ b/lib/service/help.cpp @@ -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");