1
0
mirror of git://git.suckless.org/slock synced 2024-12-25 00:12:15 +00:00
simple X display locker utility
Go to file
David Phillips f2ea92c3dd Blank the screen with color 0, add third color for failed logins
- Adds another color in config.def.h, COLOR_INIT
- Renames the colours from numerical ones to ones with meaningful names;
  COLOR_INPUT for when there is content in the input buffer and COLOR_EMPTY
  for when the input buffer has been cleared (backspaced or a failed attempt).
- Ensures XFreeColors frees the right number of colours. This is now derived
  from the size of `Lock->colors` rather than being an integer literal.
- Makes slock exhibit the behaviour described by Markus

The default colours are the same as the ones slock currently uses, with the
exception of the new color, which I have set to red, as it indicates someone
has either failed an attempt to unlock, or that they have entered input and
erased it all.
2015-04-01 23:13:11 +02:00
.hgtags Added tag 1.0 for changeset 05b949016e85 2012-02-11 10:51:31 +01:00
config.def.h Blank the screen with color 0, add third color for failed logins 2015-04-01 23:13:11 +02:00
config.mk applied sin's patch and prepared new release 2014-12-22 11:16:26 +01:00
LICENSE applied sin's patch and prepared new release 2014-12-22 11:16:26 +01:00
Makefile applied sin's patch and prepared new release 2014-12-22 11:16:26 +01:00
README removed useless chars, prepared release 2008-07-29 19:08:18 +01:00
slock.c Blank the screen with color 0, add third color for failed logins 2015-04-01 23:13:11 +02: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.