btlock

command module
v0.0.0-...-a193d87 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2019 License: BSD-3-Clause Imports: 13 Imported by: 0

README

Lock computer when idle or bluetooth devices disconnects

Have annoying colleages who can't help it from messing with your computer? Tend to forget to lock you computer? NO MORE!

This application will automaticly lock your computer when it looses connection with a bluetooth device (in my case my smartwatch) or when you computer is idle of certain amount of time.

This application works only on Linux in combination with Xorg uses bluez dbus interface and Xorg proto

Install

go install github.com/grimpy/btlock

Usage:

Usage of /tmp/go-build122752904/b001/exe/main:
  -idletime int
        Idle time before invoking lock (by default this is taken from xserver state)
  -lockapp string
        Command to invoke to lock (default "i3lock")
  -macaddr string
        Macaddress of device to check connection

Documentation

The Go Gopher

There is no documentation for this package.