Metadata-Version: 2.1
Name: bluetooth-locker
Version: 0.1.2
Summary: A bluetooth based locker
Home-page: https://github.com/leng-yue/bluetooth-locker
License: MIT
Author: leng-yue
Author-email: lengyue@lengyue.me
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Project-URL: Repository, https://github.com/leng-yue/bluetooth-locker
Description-Content-Type: text/markdown

# Bluetooth Locker
<p>
    <a href="https://pypi.org/project/bluetooth-locker/" target="_blank">
        <img src="https://img.shields.io/pypi/v/bluetooth-locker" />
    </a>
    <a href="https://github.com/leng-yue/bluetooth-locker/actions/workflows/ci.yml" target="_blank">
        <img src="https://img.shields.io/github/workflow/status/leng-yue/bluetooth-locker/CI" />
    </a>
    <img src="https://img.shields.io/github/license/leng-yue/bluetooth-locker" />
    <a href="https://pepy.tech/project/bluetooth-locker" target="_blank">
        <img src="https://pepy.tech/badge/bluetooth-locker" />
    </a>
</p>

A simple bluetooth based locker that lock and unlock your linux desktop automatically.

## How to use

You need to have `bluetoothctl` in your system. 

```shell
# Simple run
bluetooth-locker -d xx:xx:xx:xx:xx:xx

# Multiple devices
bluetooth-locker -d xx:xx:xx:xx:xx:xx -d xx:xx:xx:xx:xx:aa

# Install service
bluetooth-locker -d xx:xx:xx:xx:xx:xx --install

# Uninstall service
bluetooth-locker -d xx:xx:xx:xx:xx:xx --uninstall
```

