8000 GitHub - cyrinux/gyrolock at v0.3
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

cyrinux/gyrolock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GyroLock

Lock systemd sessions when the laptop is shake, move.

Tested on a Dell Latitude 7420.

Install

Available as archlinux AUR package gyrolock. This will install also systemd-lock-handler AUR package and swaylock.

Activate

sudo systemctl enable --now gyrolock.service
systemctl --user enable --now systemd-lock-handler.service
systemctl --user enable --now swaylock.service

Setting

Sensitivity can be set in an systemd unit override with SENSITIVITY env var. Try our own value, default is 5.

Debug

Get sensors values with:

$ DEBUG=1 SENSITIVITY=5 sudo ./gyrolock

About

Lock systemd sessions when laptop is shake

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

No packages published
0