Go to file
FRIGN 3abbffa493 Simplify the oom-taming-function
There really is no need to source a defined variable from a linux
header. The OOM-rank ranges from -1000 to 1000, so we can safely
hardcode -1000, which is a sane thing to do given slock is suid and
we don't want to play around too much here anyway.

On another notice, let's not forget that this still is a shitty
heuristic. The OOM-killer still can kill us (thus I also changed
the wording in the error-message. We do not disable the OOM-killer,
we're just hiding.
2016-02-14 01:28:37 +01:00
config.def.h Option to not show failure color on clear 2015-05-08 16:44:06 +02:00
config.mk add slock.1 man page 2016-02-11 16:51:12 +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
slock.1 add slock.1 man page 2016-02-11 16:51:12 +01:00
slock.c Simplify the oom-taming-function 2016-02-14 01:28:37 +01:00

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.