Add alternative_wmiircs READMEs

This commit is contained in:
Kris Maglione 2009-09-02 20:36:25 -04:00
parent 524b675545
commit fe55433f11
9 changed files with 43 additions and 14 deletions

View File

@ -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.

View File

@ -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.

View File

@ -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;

View File

@ -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.
*/

View File

@ -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.
*/

Binary file not shown.

View File

@ -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}

View File

@ -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)

View File

@ -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