Simple X display locker utility from suckless.org with small ergonomic change from original.
Clone or download
Pull request Compare This branch is 31 commits ahead of anekos:master.
grafov Merge pull request #1 from slopjong/master
Multiple updates from slopjong and anekos repos
Latest commit 5528fd6 Jan 29, 2016

README.md

slock - simple screen locker

The most simple screen locker utility available for X.

Requirements

Installation

Edit config.mk to match your local setup (slock is installed into the /usr/local namespace by default).

In order to build and install slock execute

sudo make clean install

Running slock

Standard

slock

Lock X by displaying a black screen and waiting for your input.

Spy Mode

slock -s

Lock X whereas your screen looks unlocked. If a mouse button is hit the screen becomes black and a snapshot of the unwanted user is taken and rendered. In order to use this spy mode you need to have fswebcam installed.

Exit slock

Just enter your password.