Go to file
Bob Uhl 7a604ec1fa Fix resize with multiple monitors and portrait mode
When connecting/disconnecting a portrait monitor, the
XRRScreenChangeNotifyEvent height & width are reversed due to the XRandR
rotation; detect this and DTRT.
2016-11-23 00:26:51 +01:00
LICENSE Update license year 2016-02-11 16:30:52 +01:00
Makefile add arg.h and util.h to Makefile 2016-11-20 01:01:47 +01:00
README removed useless chars, prepared release 2008-07-29 19:08:18 +01:00
arg.h Refactor main() 2016-08-22 23:22:20 +02:00
config.def.h clarify colors in config.def.h 2016-11-20 00:29:41 +01:00
config.mk bump version 2016-11-20 01:07:11 +01:00
explicit_bzero.c clear passwords with explicit_bzero 2016-08-13 09:58:00 +02:00
slock.1 Add a section on security considerations 2016-09-28 22:01:58 +02:00
slock.c Fix resize with multiple monitors and portrait mode 2016-11-23 00:26:51 +01:00
util.h clear passwords with explicit_bzero 2016-08-13 09:58:00 +02:00

README

slock - simple screen locker
============================
simple screen locker utility for X. 


Requirements
------------
In order to build slock you need the Xlib header files.


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

Afterwards enter the following command to build and install slock
(if necessary as root):

    make clean install


Running slock
-------------
Simply invoke the 'slock' command. To get out of it, enter your password.