Metadata-Version: 2.1
Name: linux-touchpad
Version: 0.1.5
Summary: Auto-disable laptop touchpad when a mouse is detected.
Home-page: https://github.com/Zer0897/linux-touchpad
License: MIT
Keywords: linux,touchpad,auto,disable,mouse
Author: Noah
Author-email: noah@coronasoftware.net
Requires-Python: >=3.6
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Requires-Dist: uvloop (>=0.12.2,<0.13.0)
Project-URL: Repository, https://github.com/Zer0897/linux-touchpad
Description-Content-Type: text/markdown

# Linux Touchpad
----------------

A simple tool with one job: disable the touchpad on a laptop when a mouse is plugged in.

**Requires**

`Python >= 3.6`
```
python -V  # to check
```

[libinput](https://www.mankier.com/4/libinput) to manage the devices.


# Install
**Recommended**

The easiest way to get it is through the install script. This will add it to your `~/.local/bin` and configure it to run on startup.
```
curl -sSL https://raw.githubusercontent.com/Zer0897/linux-touchpad/master/install.py | python
```

*Alternatively*

It can be done through pip, but you won't get the config setup.
```
pip install linux-touchpad
```

## Uninstall
```
# Get the file
curl -sSL https://raw.githubusercontent.com/Zer0897/linux-touchpad/master/install.py > ~/Downloads/install.py
# Make it executable
chmod 777 ~/Downloads/install.py
# Run the uninstaller
python ~/Downloads/install.py --uninstall
```

## Installing Without Startup Behavior
Get the file as shown above, then run:
```
python ~/Downloads/install.py --no-autostart
```

# Usage
Note - If startup behavior is enabled (default), it will automatically start when you login.

To begin:
```
linux-touchpad start&
```
Or if installed with pip:
```
python -m linux-touchpad start&
```
While running, this will toggle the touchpad on and off:
```
linux-touchpad toggle
```
*Tip: Set this command to a keyboard shortcut for maximum convenience*

Finally, to stop the process entirely:
```
linux-touchpad kill
```


### Author
Noah Corona | noah@coronsoftware.net

