You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Vincent Batts 8dccc692e8 adding a setting for when not running X 8 years ago
config adding a setting for when not running X 8 years ago
lockout adding a setting for when not running X 8 years ago
.gitignore Initial commit 10 years ago
LICENSE adding the sources 10 years ago
README.md adding info to the README 10 years ago

README.md

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