mirror of
https://github.com/mintycube/slock.git
synced 2024-10-22 14:05:51 +02:00
next version will be 0.8
This commit is contained in:
parent
925381bfd0
commit
18b2f4f34f
@ -1,5 +1,5 @@
|
|||||||
# slock version
|
# slock version
|
||||||
VERSION = 0.7
|
VERSION = 0.8
|
||||||
|
|
||||||
# Customize below to fit your system
|
# Customize below to fit your system
|
||||||
|
|
||||||
|
4
slock.c
4
slock.c
@ -69,8 +69,10 @@ main(int argc, char **argv) {
|
|||||||
XEvent ev;
|
XEvent ev;
|
||||||
XSetWindowAttributes wa;
|
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 van Dijk\n");
|
eprint("slock-"VERSION", © 2006-2007 Anselm R. Garbe, Sander van Dijk\n");
|
||||||
|
else if(argc != 1)
|
||||||
|
eprint("usage: slock [-v]\n");
|
||||||
pws = get_password();
|
pws = get_password();
|
||||||
if(!(dpy = XOpenDisplay(0)))
|
if(!(dpy = XOpenDisplay(0)))
|
||||||
eprint("slock: cannot open display\n");
|
eprint("slock: cannot open display\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user