Update README
This commit is contained in:
parent
6b86e06284
commit
89ba4ac36b
29
README.md
29
README.md
@ -20,7 +20,7 @@ Comfortable, seamless, and fast 3-finger (and 4-finger) touchpad swipe gestures
|
|||||||
3. You can check status with `comfortable-swipe status`
|
3. You can check status with `comfortable-swipe status`
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ comfortable-swipe status
|
$> comfortable-swipe status
|
||||||
usr/local/share/comfortable-swipe/comfortable-swipe.conf
|
usr/local/share/comfortable-swipe/comfortable-swipe.conf
|
||||||
threshold = 0.0
|
threshold = 0.0
|
||||||
left3 = ctrl+alt+Right
|
left3 = ctrl+alt+Right
|
||||||
@ -38,7 +38,7 @@ Comfortable, seamless, and fast 3-finger (and 4-finger) touchpad swipe gestures
|
|||||||
3. You can list down all commands with `comfortable-swipe` or `comfortable-swipe help`
|
3. You can list down all commands with `comfortable-swipe` or `comfortable-swipe help`
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ comfortable-swipe
|
$> comfortable-swipe
|
||||||
comfortable-swipe [start|stop|restart|autostart|buffer|help|config|debug|status]
|
comfortable-swipe [start|stop|restart|autostart|buffer|help|config|debug|status]
|
||||||
|
|
||||||
start - starts 3/4-finger gesture service
|
start - starts 3/4-finger gesture service
|
||||||
@ -59,10 +59,18 @@ Comfortable, seamless, and fast 3-finger (and 4-finger) touchpad swipe gestures
|
|||||||
sudo gpasswd -a $USER $(ls -l /dev/input/event* | awk '{print $4}' | head --line=1)
|
sudo gpasswd -a $USER $(ls -l /dev/input/event* | awk '{print $4}' | head --line=1)
|
||||||
```
|
```
|
||||||
2. ***Important***: After inputing your `sudo` password, log out then log back in
|
2. ***Important***: After inputing your `sudo` password, log out then log back in
|
||||||
3. Start
|
3. By default, comfortable-swipe should be running. Otherwise, run:
|
||||||
```bash
|
```bash
|
||||||
comfortable-swipe start
|
comfortable-swipe start
|
||||||
```
|
```
|
||||||
|
You can see if gestures work correctly if you see `SWIPE xxx` in the output:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$> comfortable-swipe start
|
||||||
|
SWIPE left3
|
||||||
|
SWIPE right3
|
||||||
|
...
|
||||||
|
```
|
||||||
|
|
||||||
## How to Upgrade
|
## How to Upgrade
|
||||||
|
|
||||||
@ -73,8 +81,9 @@ pip3 install -U --user git+https://github.com/Hikari9/comfortable-swipe
|
|||||||
## Uninstall
|
## Uninstall
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Uncomment below to remove configurations (not recommended)
|
# Uncomment below to COMPLETELY remove configurations (not recommended)
|
||||||
# rm $(comfortable-swipe config)
|
# rm $(comfortable-swipe config)
|
||||||
|
|
||||||
pip3 uninstall comfortable-swipe
|
pip3 uninstall comfortable-swipe
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -83,20 +92,20 @@ pip3 uninstall comfortable-swipe
|
|||||||
1. `comfortable-swipe config` - outputs location of configuration file
|
1. `comfortable-swipe config` - outputs location of configuration file
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ comfortable-swipe config
|
$> comfortable-swipe config
|
||||||
/usr/local/share/comfortable-swipe/comfortable-swipe.conf
|
/usr/local/share/comfortable-swipe/comfortable-swipe.conf
|
||||||
```
|
```
|
||||||
|
|
||||||
2. `comfortable-swipe autostart` - Toggles autostart
|
2. `comfortable-swipe autostart` - Toggles autostart
|
||||||
```bash
|
```bash
|
||||||
$ comfortable-swipe autostart
|
$> comfortable-swipe autostart
|
||||||
Autostart switched off
|
Autostart switched off
|
||||||
```
|
```
|
||||||
|
|
||||||
3. `comfortable-swipe debug` - Debugs input (this is an unbuffered alias of `libinput debug-events`)
|
3. `comfortable-swipe debug` - Debugs input (this is an unbuffered alias of `libinput debug-events`)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ comfortable-swipe debug
|
$> comfortable-swipe debug
|
||||||
...
|
...
|
||||||
-event9 DEVICE_ADDED TouchPad seat0 default group7 cap:pg size 70x50mm tap(dl off) left scroll-nat scroll-2fg-edge click-buttonareas-clickfinger dwt-on
|
-event9 DEVICE_ADDED TouchPad seat0 default group7 cap:pg size 70x50mm tap(dl off) left scroll-nat scroll-2fg-edge click-buttonareas-clickfinger dwt-on
|
||||||
...
|
...
|
||||||
@ -122,12 +131,12 @@ pip3 uninstall comfortable-swipe
|
|||||||
|
|
||||||
Comfortable swipe makes use of keyboard shortcuts for configurations. Edit by running
|
Comfortable swipe makes use of keyboard shortcuts for configurations. Edit by running
|
||||||
|
|
||||||
```
|
```bash
|
||||||
nano $(comfortable-swipe config)
|
gedit $(comfortable-swipe config)
|
||||||
```
|
```
|
||||||
|
|
||||||
Make sure to restart after making changes:
|
Make sure to restart after making changes:
|
||||||
```
|
```bash
|
||||||
comfortable-swipe restart
|
comfortable-swipe restart
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user