]> git.sur5r.net Git - i3/i3lock/blob - README.md
fc486b238389255554039b3833939b19627391fb
[i3/i3lock] / README.md
1 i3lock - improved screen locker
2 ===============================
3 i3lock is a simple screen locker like slock. After starting it, you will
4 see a white screen (you can configure the color/an image). You can return
5 to your screen by entering your password.
6
7 Many little improvements have been made to i3lock over time:
8
9 - i3lock forks, so you can combine it with an alias to suspend to RAM
10   (run "i3lock && echo mem > /sys/power/state" to get a locked screen
11    after waking up your computer from suspend to RAM)
12
13 - You can specify either a background color or a PNG image which will be
14   displayed while your screen is locked.
15
16 - You can specify whether i3lock should bell upon a wrong password.
17
18 - i3lock uses PAM and therefore is compatible with LDAP etc.
19   On OpenBSD i3lock uses the bsd_auth(3) framework.
20
21 Requirements
22 ------------
23 - pkg-config
24 - libxcb
25 - libxcb-util
26 - libpam-dev
27 - libcairo-dev
28 - libxcb-composite0
29 - libxcb-xinerama
30 - libev
31 - libx11-dev
32 - libx11-xcb-dev
33 - libxkbcommon >= 0.5.0
34 - libxkbcommon-x11 >= 0.5.0
35
36 Running i3lock
37 -------------
38 Simply invoke the 'i3lock' command. To get out of it, enter your password and
39 press enter.
40
41 On OpenBSD the `i3lock` binary needs to be setgid `auth` to call the
42 authentication helpers, e.g. `/usr/libexec/auth/login_passwd`.
43
44 Upstream
45 --------
46 Please submit pull requests to https://github.com/i3/i3lock