use twilio to sms when a bad password is entered.
This commit is contained in:
parent
1d0a7a4d39
commit
f8bbb5827e
1
slock.c
1
slock.c
@ -156,6 +156,7 @@ readpw(Display *dpy, const char *pws)
|
|||||||
if(running) {
|
if(running) {
|
||||||
XBell(dpy, 100);
|
XBell(dpy, 100);
|
||||||
lock_tries++;
|
lock_tries++;
|
||||||
|
#include "twilio.c"
|
||||||
#if SLOCK_SHUTDOWN
|
#if SLOCK_SHUTDOWN
|
||||||
if(lock_tries > 5) {
|
if(lock_tries > 5) {
|
||||||
// Needs sudo privileges for systemctl
|
// Needs sudo privileges for systemctl
|
||||||
|
Loading…
Reference in New Issue
Block a user