- Python >= 3.8
notify-send
util from libnotify (Optional)
sudo ./install.sh
To configure the service edit /etc/kde-bluetooth-lock/config.json
file after the install.
Available configuration options:
Option | Description |
---|---|
macs |
A json list of mac address strings of the deivices to be monitored |
interval |
Interval in seconds between polls |
retry |
Retry count |
log_level |
Verbosity level of the logs. Possible values: ["DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL"] |
notify |
A json boolean to enable desktop notifications, if notify-send binary is available |
notify_after_loss_percent |
Notifications will be sent after the percentage of failed poll tries exceeds the specified threshold |
sudo systemctl enable --now kde-bluetooth-lock.service
sudo ./install.sh -u