No description
Find a file
2013-07-05 10:49:43 -04:00
config adding the sources 2013-07-05 10:46:45 -04:00
lockout adding the sources 2013-07-05 10:46:45 -04:00
.gitignore Initial commit 2013-07-05 07:39:10 -07:00
LICENSE adding the sources 2013-07-05 10:46:45 -04:00
README.md adding info to the README 2013-07-05 10:49:43 -04:00

go-lockout

simple app for exec'ing my desired screen lock and suspend functions

Installation

This tool is built using Google Go Lang

go get github.com/vbatts/go-lockout/lockout

Usage

Set ~/.config/lockout.conf to have two variables, with the values what it takes to accomplish locking your screensaver, and to suspend your laptop

suspendcmd: sudo /usr/sbin/pm-suspend
lockcmd: xscreensaver-command -lock

Then you can just call

lockout