[hackers] [wmii] "object-oriented design is the roman numerals of computing." --rob; Removed Roman Numerals.

From: Kris Maglione <jg_AT_suckless.org>
Date: Thu Mar 22 04:03:02 2007

changeset: 2020:aee7babbbeb0
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Wed Mar 21 22:58:59 2007 -0400
summary: "object-oriented design is the roman numerals of computing." --rob; Removed Roman Numerals.

diff -r e13b3672c922 -r aee7babbbeb0 LICENSE
--- a/LICENSE Wed Mar 21 22:13:57 2007 -0400
+++ b/LICENSE Wed Mar 21 22:58:59 2007 -0400
@@ -1,10 +1,10 @@ MIT/X Consortium License
 MIT/X Consortium License
 
-(C)opyright MMIII-MMVI Anselm R. Garbe <garbeam at suckless dot org>
-(C)opyright MMV-MMVI Georg Neis <gn at suckless dot org>
-(C)opyright MMVI Sander van Dijk <sander at suckless dot org>
-(C)opyright MMVI Kris Maglione <bsdaemon at comcast dot net>
-(C)opyright MMVI Denis Grelich <denisg at suckless dot org>
+© 2003-2006 Anselm R. Garbe <garbeam at suckless dot org>
+© 2005-2006 Georg Neis <gn at suckless dot org>
+© 2006 Sander van Dijk <sander at suckless dot org>
+© 2006-2007 Kris Maglione <bsdaemon at comcast dot net>
+© 2006 Denis Grelich <denisg at suckless dot org>
 
 Permission is hereby granted, free of charge, to any person obtaining a
 copy of this software and associated documentation files (the "Software"),
diff -r e13b3672c922 -r aee7babbbeb0 Makefile
--- a/Makefile Wed Mar 21 22:13:57 2007 -0400
+++ b/Makefile Wed Mar 21 22:58:59 2007 -0400
@@ -1,6 +1,6 @@
 # window manager improved 2 - window manager improved 2
-# (C)opyright MMVI Anselm R. Garbe
-# (C)opyright MMVI-MMVII Kris Maglione
+# © 2006 Anselm R. Garbe
+# © 2006-2007 Kris Maglione
 .POSIX:
 
 include config.mk
diff -r e13b3672c922 -r aee7babbbeb0 area.c
--- a/area.c Wed Mar 21 22:13:57 2007 -0400
+++ b/area.c Wed Mar 21 22:58:59 2007 -0400
@@ -1,5 +1,5 @@
-/* (C)opyright MMIV-MMVI Anselm R. Garbe <garbeam at gmail dot com>
- * (C)opyright MMVI-MMVII Kris Maglione <fbsdaemon_AT_gmail.com>
+/* © 2004-2006 Anselm R. Garbe <garbeam at gmail dot com>
+ * © 2006-2007 Kris Maglione <fbsdaemon_AT_gmail.com>
  * See LICENSE file for license details.
  */
 #include <assert.h>
diff -r e13b3672c922 -r aee7babbbeb0 bar.c
--- a/bar.c Wed Mar 21 22:13:57 2007 -0400
+++ b/bar.c Wed Mar 21 22:58:59 2007 -0400
@@ -1,5 +1,5 @@
-/* (C)opyright MMIV-MMVI Anselm R. Garbe <garbeam at gmail dot com>
- * (C)opyright MMVI-MMVII Kris Maglione <fbsdaemon_AT_gmail.com>
+/* © 2004-2006 Anselm R. Garbe <garbeam at gmail dot com>
+ * © 2006-2007 Kris Maglione <fbsdaemon_AT_gmail.com>
  * See LICENSE file for license details.
  */
 #include <math.h>
diff -r e13b3672c922 -r aee7babbbeb0 client.c
--- a/client.c Wed Mar 21 22:13:57 2007 -0400
+++ b/client.c Wed Mar 21 22:58:59 2007 -0400
@@ -1,5 +1,5 @@
-/* (C)opyright MMIV-MMVI Anselm R. Garbe <garbeam at gmail dot com>
- * (C)opyright MMVI-MMVII Kris Maglione <fbsdaemon_AT_gmail.com>
+/* © 2004-2006 Anselm R. Garbe <garbeam at gmail dot com>
+ * © 2006-2007 Kris Maglione <fbsdaemon_AT_gmail.com>
  * See LICENSE file for license details.
  */
 #include <assert.h>
diff -r e13b3672c922 -r aee7babbbeb0 column.c
--- a/column.c Wed Mar 21 22:13:57 2007 -0400
+++ b/column.c Wed Mar 21 22:58:59 2007 -0400
@@ -1,5 +1,5 @@
-/* (C)opyright MMIV-MMVI Anselm R. Garbe <garbeam at gmail dot com>
- * (C)opyright MMVI-MMVII Kris Maglione <fbsdaemon_AT_gmail.com>
+/* © 2004-2006 Anselm R. Garbe <garbeam at gmail dot com>
+ * © 2006-2007 Kris Maglione <fbsdaemon_AT_gmail.com>
  * See LICENSE file for license details.
  */
 #include <assert.h>
diff -r e13b3672c922 -r aee7babbbeb0 draw.c
--- a/draw.c Wed Mar 21 22:13:57 2007 -0400
+++ b/draw.c Wed Mar 21 22:58:59 2007 -0400
@@ -1,4 +1,4 @@
-/* (C)opyright MMIV-MMVI Anselm R. Garbe <garbeam at gmail dot com>
+/* © 2004-2006 Anselm R. Garbe <garbeam at gmail dot com>
  * See LICENSE file for license details.
  */
 #include <stdio.h>
diff -r e13b3672c922 -r aee7babbbeb0 event.c
--- a/event.c Wed Mar 21 22:13:57 2007 -0400
+++ b/event.c Wed Mar 21 22:58:59 2007 -0400
@@ -1,5 +1,5 @@
-/* (C)opyright MMIV-MMVI Anselm R. Garbe <garbeam at gmail dot com>
- * (C)opyright MMVI-MMVII Kris Maglione <fbsdaemon_AT_gmail.com>
+/* © 2004-2006 Anselm R. Garbe <garbeam at gmail dot com>
+ * © 2006-2007 Kris Maglione <fbsdaemon_AT_gmail.com>
  * See LICENSE file for license details.
  */
 #include <fcntl.h>
diff -r e13b3672c922 -r aee7babbbeb0 frame.c
--- a/frame.c Wed Mar 21 22:13:57 2007 -0400
+++ b/frame.c Wed Mar 21 22:58:59 2007 -0400
@@ -1,4 +1,4 @@
-/* (C)opyright MMVI-MMVII Kris Maglione <fbsdaemon_AT_gmail.com>
+/* © 2006-2007 Kris Maglione <fbsdaemon_AT_gmail.com>
  * See LICENSE file for license details.
  */
 #include <stdlib.h>
diff -r e13b3672c922 -r aee7babbbeb0 fs.c
--- a/fs.c Wed Mar 21 22:13:57 2007 -0400
+++ b/fs.c Wed Mar 21 22:58:59 2007 -0400
@@ -1,4 +1,4 @@
-/* (C)opyright MMVI Kris Maglione <fbsdaemon at gmail dot com>
+/* © 2006 Kris Maglione <fbsdaemon at gmail dot com>
  * See LICENSE file for license details.
  */
 #include <assert.h>
diff -r e13b3672c922 -r aee7babbbeb0 geom.c
--- a/geom.c Wed Mar 21 22:13:57 2007 -0400
+++ b/geom.c Wed Mar 21 22:58:59 2007 -0400
@@ -1,4 +1,4 @@
-/* (C)opyright MMIV-MMVI Anselm R. Garbe <garbeam at gmail dot com>
+/* © 2004-2006 Anselm R. Garbe <garbeam at gmail dot com>
  * See LICENSE file for license details.
  */
 #include "wmii.h"
diff -r e13b3672c922 -r aee7babbbeb0 key.c
--- a/key.c Wed Mar 21 22:13:57 2007 -0400
+++ b/key.c Wed Mar 21 22:58:59 2007 -0400
@@ -1,4 +1,4 @@
-/* (C)opyright MMIV-MMVI Anselm R. Garbe <garbeam at gmail dot com>
+/* © 2004-2006 Anselm R. Garbe <garbeam at gmail dot com>
  * See LICENSE file for license details.
  */
 #include <string.h>
diff -r e13b3672c922 -r aee7babbbeb0 main.c
--- a/main.c Wed Mar 21 22:13:57 2007 -0400
+++ b/main.c Wed Mar 21 22:58:59 2007 -0400
@@ -1,5 +1,5 @@
-/* (C)opyright MMIV-MMVI Anselm R. Garbe <garbeam at gmail dot com>
- * (C)opyright MMVI-MMVII Kris Maglione <fbsdaemon_AT_gmail.com>
+/* © 2004-2006 Anselm R. Garbe <garbeam at gmail dot com>
+ * © 2006-2007 Kris Maglione <fbsdaemon_AT_gmail.com>
  * See LICENSE file for license details.
  */
 #include <X11/Xatom.h>
@@ -21,7 +21,7 @@
 
 static Bool check_other_wm;
 static int (*x_error_handler) (Display *, XErrorEvent *);
-static char version[] = "wmiiwm - " VERSION ", (C)opyright MMVI-MMVII Kris Maglione\n";
+static char version[] = "wmiiwm - " VERSION ", © 2007 Kris Maglione\n";
 static struct sigaction sa;
 static int sleeperfd;
 
diff -r e13b3672c922 -r aee7babbbeb0 mouse.c
--- a/mouse.c Wed Mar 21 22:13:57 2007 -0400
+++ b/mouse.c Wed Mar 21 22:58:59 2007 -0400
@@ -1,4 +1,4 @@
-/* (C)opyright MMVI Kris Maglione <fbsdaemon_AT_gmail.com>
+/* © 2006 Kris Maglione <fbsdaemon_AT_gmail.com>
  * See LICENSE file for license details.
  */
 #include <stdlib.h>
diff -r e13b3672c922 -r aee7babbbeb0 rc/rc.wmii
--- a/rc/rc.wmii Wed Mar 21 22:13:57 2007 -0400
+++ b/rc/rc.wmii Wed Mar 21 22:58:59 2007 -0400
@@ -57,6 +57,9 @@ fn status {
         echo -n `{uptime | sed 's/.*://; s/,//g'} '|' `{date}
 }
 
+# View Titles
+fn viewtitle { echo $* }
+
 # Events
 fn Event-Start {
         switch($1) {
@@ -68,10 +71,10 @@ fn Event-Start {
 
 fn Event-Key { eval Key-$1 $1 }
 
-fn Event-CreateTag { echo $WMII_NORMCOLORS $* | wmiir create /lbar/$"* }
+fn Event-CreateTag { echo $WMII_NORMCOLORS `{viewtitle $*} | wmiir create /lbar/$"* }
 fn Event-DestroyTag { wmiir remove /lbar/$"* }
-fn Event-FocusTag { wmiir xwrite /lbar/$"* $WMII_FOCUSCOLORS $* }
-fn Event-UnfocusTag { wmiir xwrite /lbar/$"* $WMII_NORMCOLORS $* }
+fn Event-FocusTag { wmiir xwrite /lbar/$"* $WMII_FOCUSCOLORS `{viewtitle $*} }
+fn Event-UnfocusTag { wmiir xwrite /lbar/$"* $WMII_NORMCOLORS `{viewtitle $*} }
 fn Event-UrgentTag { shift; wmiir xwrite /lbar/$"* '*'$"* }
 fn Event-NotUrgentTag { shift; wmiir xwrite /lbar/$"* $"* }
 
@@ -184,7 +187,7 @@ fn run_command {
 fn run_command {
         @{ rfork ns
                 path=$oldpath
- eval exec $* </dev/null
+ eval exec $*
         }
 }
 
@@ -213,9 +216,9 @@ ifs='#
         seltag=`{wmiir read /tag/sel/ctl}
         for(tag in `{read_tags}) {
                 if(~ $tag $seltag)
- echo $WMII_FOCUSCOLORS $tag | wmiir create /lbar/$tag
+ echo $WMII_FOCUSCOLORS `{viewtitle $tag} | wmiir create /lbar/$tag
                 if not
- echo $WMII_NORMCOLORS $tag | wmiir create /lbar/$tag
+ echo $WMII_NORMCOLORS `{viewtitle $tag} | wmiir create /lbar/$tag
         }
 }
 
@@ -230,4 +233,4 @@ wmiir read /event |
         while(*=`{read}) {
                 event = $1; shift
                 Event-$event $*
- } >[2]/dev/null
+ } >[2]/dev/null </dev/null | cat
diff -r e13b3672c922 -r aee7babbbeb0 rule.c
--- a/rule.c Wed Mar 21 22:13:57 2007 -0400
+++ b/rule.c Wed Mar 21 22:58:59 2007 -0400
@@ -1,5 +1,5 @@
 /*
- * (C)opyright MMVI Anselm R. Garbe <garbeam at gmail dot com>
+ * © 2006 Anselm R. Garbe <garbeam at gmail dot com>
  * See LICENSE file for license details.
  */
 
diff -r e13b3672c922 -r aee7babbbeb0 view.c
--- a/view.c Wed Mar 21 22:13:57 2007 -0400
+++ b/view.c Wed Mar 21 22:58:59 2007 -0400
@@ -1,5 +1,5 @@
-/* (C)opyright MMIV-MMVI Anselm R. Garbe <garbeam at gmail dot com>
- * (C)opyright MMVI-MMVII Kris Maglione <fbsdaemon_AT_gmail.com>
+/* © 2004-2006 Anselm R. Garbe <garbeam at gmail dot com>
+ * © 2006-2007 Kris Maglione <fbsdaemon_AT_gmail.com>
  * See LICENSE file for license details.
  */
 
diff -r e13b3672c922 -r aee7babbbeb0 wmii.1
--- a/wmii.1 Wed Mar 21 22:13:57 2007 -0400
+++ b/wmii.1 Wed Mar 21 22:58:59 2007 -0400
@@ -1,13 +1,14 @@
 .TH WMII 1 wmii-VERSION
 .SH NAME
-wmii \- window manager improved 2
+wmii \(em window manager improved\(emimproved
 .SH SYNOPSIS
 .B wmii
 .SH DESCRIPTION
 .SS Overview
 .B wmii
-is a script that launches the wmii window manager and its various utilities and
-makes sure that they are configured for use.
+is a dynamic window manager for X11. See
+.BR wmiiwm (1)
+for more info.
 .SS Actions
 An action is a shell script in the default setup, but it can actually be
 any executable file. It is executed usually by selecting it from the
diff -r e13b3672c922 -r aee7babbbeb0 wmii.h
--- a/wmii.h Wed Mar 21 22:13:57 2007 -0400
+++ b/wmii.h Wed Mar 21 22:58:59 2007 -0400
@@ -1,5 +1,5 @@
 /*
- * (C)opyright MMIV-MMVI Anselm R. Garbe <garbeam at gmail dot com>
+ * © 2004-2006 Anselm R. Garbe <garbeam at gmail dot com>
  * See LICENSE file for license details.
  */
 
diff -r e13b3672c922 -r aee7babbbeb0 wmiiloop.1
--- a/wmiiloop.1 Wed Mar 21 22:13:57 2007 -0400
+++ b/wmiiloop.1 Wed Mar 21 22:58:59 2007 -0400
@@ -1,6 +1,6 @@
 .TH WMIIR 1 wmii\-VERSION
 .SH NAME
-wmiiloop \- wmii event loop processor
+wmiiloop \(em wmii event loop processor
 .SH SYNOPSIS
 .B cat
 .I events
diff -r e13b3672c922 -r aee7babbbeb0 wmiir.1
--- a/wmiir.1 Wed Mar 21 22:13:57 2007 -0400
+++ b/wmiir.1 Wed Mar 21 22:58:59 2007 -0400
@@ -1,6 +1,6 @@
 .TH WMIIR 1 wmii-VERSION
 .SH NAME
-wmiir \- wrapper script for ixpc
+wmiir \(em wrapper script for ixpc
 .SH SYNOPSIS
 .B wmiir
 .RB [ \-a
diff -r e13b3672c922 -r aee7babbbeb0 wmiiwm.1
--- a/wmiiwm.1 Wed Mar 21 22:13:57 2007 -0400
+++ b/wmiiwm.1 Wed Mar 21 22:58:59 2007 -0400
@@ -1,6 +1,6 @@
 .TH WMIIWM 1 wmii-VERSION
 .SH NAME
-wmiiwm \- window manager improved 2 (core)
+wmiiwm \(em window manager improved\(emimproved (core)
 .SH SYNOPSIS
 .B wmiiwm
 .B \-a
@@ -12,7 +12,7 @@ wmiiwm \- window manager improved 2 (cor
 .PD 0
 .SS Overview
 .BR wmiiwm (1)
-is the core of window manager improved 2.
+is the core of window manager improved\(emimproved.
 .P
 .B wmii
 is a dynamic window manager for X11. In contrast to static window management
Received on Thu Mar 22 2007 - 04:03:02 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:56:20 UTC