Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 979 Bytes

README.md

File metadata and controls

40 lines (26 loc) · 979 Bytes

Requirements

  • Python >= 3.8
  • notify-send util from libnotify (Optional)

Install

sudo ./install.sh

Configure

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

Run

sudo systemctl enable --now kde-bluetooth-lock.service

Uninstall

sudo ./install.sh -u