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
go install github.com/grimpy/btlock
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