Go to file
FRIGN a6dc051e37 No need for usage()
There are 2 arguments why -v and -h are broken:

	1) if you are running off git, -v will show the last stable
           release, effectively making this option useless.
           people running stable versions leave open an attack surface
           this way in case there are vulnerabilities found.
           99% of the people are also using package managers to keep
           their software up to date, instead of running $TOOL -v to
           check how old it is.
        2) -h is a sad excuse for not just looking at the manual page
           (man 1 slock). Given we accept a post_lock_command, we can't
           be as liberal and just intercept certain flags.

I changed the manpage to reflect this change.
2016-02-14 02:00:14 +01:00
LICENSE Update license year 2016-02-11 16:30:52 +01:00
Makefile add slock.1 man page 2016-02-11 16:51:12 +01:00
README removed useless chars, prepared release 2008-07-29 19:08:18 +01:00
config.def.h Clarify config.def.h 2016-02-14 01:33:18 +01:00
config.mk add slock.1 man page 2016-02-11 16:51:12 +01:00
slock.1 No need for usage() 2016-02-14 02:00:14 +01:00
slock.c No need for usage() 2016-02-14 02:00:14 +01: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.