Introduction
Introduction Statistics Contact Development Disclaimer Help
next version will be 0.8 - slock - simple X display locker utility
git clone git://git.suckless.org/slock
Log
Files
Refs
README
LICENSE
---
commit 18b2f4f34fb0ec97a77b1a5f5250e4b3e9b74959
parent 925381bfd08c48c83b96a8da6e8ff7a11c14af33
Author: Anselm R. Garbe <[email protected]>
Date: Sat, 24 Nov 2007 21:27:44 +0100
next version will be 0.8
Diffstat:
M config.mk | 2 +-
M slock.c | 4 +++-
2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/config.mk b/config.mk
@@ -1,5 +1,5 @@
# slock version
-VERSION = 0.7
+VERSION = 0.8
# Customize below to fit your system
diff --git a/slock.c b/slock.c
@@ -69,8 +69,10 @@ main(int argc, char **argv) {
XEvent ev;
XSetWindowAttributes wa;
- if((argc > 1) && !strncmp(argv[1], "-v", 3))
+ if((argc == 2) && !strcmp("-v", argv[1]))
eprint("slock-"VERSION", © 2006-2007 Anselm R. Garbe, Sander …
+ else if(argc != 1)
+ eprint("usage: slock [-v]\n");
pws = get_password();
if(!(dpy = XOpenDisplay(0)))
eprint("slock: cannot open display\n");
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.