commit fe55433f1176db2005704c2463a74aaa6461db83
parent 524b67554563aef5d30f5e78c17a3483c9ce2b4b
Author: Kris Maglione <jg@suckless.org>
Date: Wed, 2 Sep 2009 20:36:25 -0400
Add alternative_wmiircs READMEs
Diffstat:
9 files changed, 43 insertions(+), 14 deletions(-)
diff --git a/alternative_wmiircs/README b/alternative_wmiircs/README
@@ -0,0 +1,13 @@
+Alternative wmiirc scripts
+==========================
+
+This folder contains alternative implementations of wmii's rc
+scripts. Each folder contains a different implementation,
+described below, including its own README, wmiirc script, and
+possibly other suppporting files and libraries. It usually
+suffices to copy the entire contents of the directory to
+~/.wmii, but see the accompanying README file for more
+details.
+
+ python/ A pure Python wmiirc implementation.
+
diff --git a/alternative_wmiircs/python/README b/alternative_wmiircs/python/README
@@ -0,0 +1,16 @@
+Python wmiirc
+=============
+
+This directory contains a pure Python implementation of
+wmiirc. The two included libraries, pyxp and pygmi, are a 9P
+client and wmii filesystem utility module, respectively. To
+use this library, simply copy the contents of this direcctory
+to ~/.wmii/. To customize it, either modify wmiirc.py
+directly, or create wmii_local.py and store your modifications
+there. The latter approach is preferable in that future
+modifications to wmiirc.py can usually be painlessly
+integrated.
+
+The documentation is sparse, but wmiirc.py should serve as a
+fairly comprehensive example.
+
diff --git a/cmd/menu/main.c b/cmd/menu/main.c
@@ -50,12 +50,12 @@ void dprint(long mask, char *fmt, ...) {
va_end(ap);
}
-static void
+static inline void
splice(Item *i) {
i->next->prev = i->prev;
i->prev->next = i->next;
}
-static void
+static inline void
link(Item *i, Item *j) {
i->next = j;
j->prev = i;
diff --git a/cmd/wmii/dat.h b/cmd/wmii/dat.h
@@ -1,4 +1,4 @@
-/* Copyright ©2007-2008 Kris Maglione <jg@suckless.org>
+/* Copyright ©2007-2009 Kris Maglione <jg@suckless.org>
* See LICENSE file for license details.
*/
diff --git a/cmd/wmii/fns.h b/cmd/wmii/fns.h
@@ -1,4 +1,4 @@
-/* Copyright ©2007-2008 Kris Maglione <jg@suckless.org>
+/* Copyright ©2007-2009 Kris Maglione <jg@suckless.org>
* See LICENSE file for license details.
*/
diff --git a/doc/wmii.pdf b/doc/wmii.pdf
Binary files differ.
diff --git a/doc/wmii.tex b/doc/wmii.tex
@@ -306,14 +306,14 @@ If everything went according to plan, you should be viewing this
from a nearly empty \wmii\ session. We're going to be using the
keyboard a lot, so let's start with a convention for key
notation. We'll be using the key modifiers Control, Alt, Shift,
-and Meta\footnote{The Windows© key on most keyboards. The
-Penguin key, on the more tongue in cheek varieties.}, which
-we'll specify as C-, A-, S-, and M-, respectively. So, <C-S-a>
-means pressing ‘|a|’ while holding |Control| and |Shift|. We'll
-also express mouse clicks this way, with <M-Mouse1> signifying
-a press of the right mouse button, with the Meta key depressed.
-Buttons 4 and 5 are the up and down scroll wheel directions,
-respectively.
+and Meta\footnote{The Windows$^{\mbox{\tiny®}}$ key on most
+keyboards. The Penguin key, on the more tongue in cheek
+varieties.}, which we'll specify as C-, A-, S-, and M-,
+respectively. So, <C-S-a> means pressing ‘|a|’ while holding
+|Control| and |Shift|. We'll also express mouse clicks this
+way, with <M-Mouse1> signifying a press of the right mouse
+button, with the Meta key depressed. Buttons 4 and 5 are the up
+and down scroll wheel directions, respectively.
\subsection{Floating Mode}
diff --git a/include/util.h b/include/util.h
@@ -1,4 +1,4 @@
-/* Copyright ©2007-2008 Kris Maglione <fbsdaemon@gmail.com>
+/* Copyright ©2007-2009 Kris Maglione <fbsdaemon@gmail.com>
* See LICENSE file for license details.
*/
#define nil ((void*)0)
diff --git a/include/x11.h b/include/x11.h
@@ -1,4 +1,4 @@
-/* Copyright ©2007-2008 Kris Maglione <fbsdaemon@gmail.com>
+/* Copyright ©2007-2009 Kris Maglione <fbsdaemon@gmail.com>
* See LICENSE file for license details.
*/
#define Window XWindow