From b56f202e3ec41752a4ef23c4e2bf49292b1bccc7 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Wed, 21 Mar 2007 22:58:59 -0400 Subject: [PATCH] "object-oriented design is the roman numerals of computing." --rob; Removed Roman Numerals. --- LICENSE | 10 +++++----- Makefile | 4 ++-- area.c | 4 ++-- bar.c | 4 ++-- client.c | 4 ++-- column.c | 4 ++-- draw.c | 2 +- event.c | 4 ++-- frame.c | 2 +- fs.c | 2 +- geom.c | 2 +- key.c | 2 +- main.c | 6 +++--- mouse.c | 2 +- rc/rc.wmii | 17 ++++++++++------- rule.c | 2 +- view.c | 4 ++-- wmii.1 | 7 ++++--- wmii.h | 2 +- wmiiloop.1 | 2 +- wmiir.1 | 2 +- wmiiwm.1 | 4 ++-- 22 files changed, 48 insertions(+), 44 deletions(-) diff --git a/LICENSE b/LICENSE index 58a4a848..a768181c 100644 --- a/LICENSE +++ b/LICENSE @@ -1,10 +1,10 @@ MIT/X Consortium License -(C)opyright MMIII-MMVI Anselm R. Garbe -(C)opyright MMV-MMVI Georg Neis -(C)opyright MMVI Sander van Dijk -(C)opyright MMVI Kris Maglione -(C)opyright MMVI Denis Grelich +© 2003-2006 Anselm R. Garbe +© 2005-2006 Georg Neis +© 2006 Sander van Dijk +© 2006-2007 Kris Maglione +© 2006 Denis Grelich Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/Makefile b/Makefile index 597bab28..f96953e7 100644 --- a/Makefile +++ b/Makefile @@ -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 --git a/area.c b/area.c index e20847a8..f4c7581b 100644 --- a/area.c +++ b/area.c @@ -1,5 +1,5 @@ -/* (C)opyright MMIV-MMVI Anselm R. Garbe - * (C)opyright MMVI-MMVII Kris Maglione +/* © 2004-2006 Anselm R. Garbe + * © 2006-2007 Kris Maglione * See LICENSE file for license details. */ #include diff --git a/bar.c b/bar.c index 70506b00..9215cb40 100644 --- a/bar.c +++ b/bar.c @@ -1,5 +1,5 @@ -/* (C)opyright MMIV-MMVI Anselm R. Garbe - * (C)opyright MMVI-MMVII Kris Maglione +/* © 2004-2006 Anselm R. Garbe + * © 2006-2007 Kris Maglione * See LICENSE file for license details. */ #include diff --git a/client.c b/client.c index 0a6e13d3..6ea6835b 100644 --- a/client.c +++ b/client.c @@ -1,5 +1,5 @@ -/* (C)opyright MMIV-MMVI Anselm R. Garbe - * (C)opyright MMVI-MMVII Kris Maglione +/* © 2004-2006 Anselm R. Garbe + * © 2006-2007 Kris Maglione * See LICENSE file for license details. */ #include diff --git a/column.c b/column.c index 23f2bc10..258f0719 100644 --- a/column.c +++ b/column.c @@ -1,5 +1,5 @@ -/* (C)opyright MMIV-MMVI Anselm R. Garbe - * (C)opyright MMVI-MMVII Kris Maglione +/* © 2004-2006 Anselm R. Garbe + * © 2006-2007 Kris Maglione * See LICENSE file for license details. */ #include diff --git a/draw.c b/draw.c index 6f78460e..43c1f29b 100644 --- a/draw.c +++ b/draw.c @@ -1,4 +1,4 @@ -/* (C)opyright MMIV-MMVI Anselm R. Garbe +/* © 2004-2006 Anselm R. Garbe * See LICENSE file for license details. */ #include diff --git a/event.c b/event.c index c5e42d22..6f1959b1 100644 --- a/event.c +++ b/event.c @@ -1,5 +1,5 @@ -/* (C)opyright MMIV-MMVI Anselm R. Garbe - * (C)opyright MMVI-MMVII Kris Maglione +/* © 2004-2006 Anselm R. Garbe + * © 2006-2007 Kris Maglione * See LICENSE file for license details. */ #include diff --git a/frame.c b/frame.c index a808af31..faf904b2 100644 --- a/frame.c +++ b/frame.c @@ -1,4 +1,4 @@ -/* (C)opyright MMVI-MMVII Kris Maglione +/* © 2006-2007 Kris Maglione * See LICENSE file for license details. */ #include diff --git a/fs.c b/fs.c index a57832f3..6833fcd3 100644 --- a/fs.c +++ b/fs.c @@ -1,4 +1,4 @@ -/* (C)opyright MMVI Kris Maglione +/* © 2006 Kris Maglione * See LICENSE file for license details. */ #include diff --git a/geom.c b/geom.c index b81d63fc..b18c8eab 100644 --- a/geom.c +++ b/geom.c @@ -1,4 +1,4 @@ -/* (C)opyright MMIV-MMVI Anselm R. Garbe +/* © 2004-2006 Anselm R. Garbe * See LICENSE file for license details. */ #include "wmii.h" diff --git a/key.c b/key.c index 5f2a73ab..e337d662 100644 --- a/key.c +++ b/key.c @@ -1,4 +1,4 @@ -/* (C)opyright MMIV-MMVI Anselm R. Garbe +/* © 2004-2006 Anselm R. Garbe * See LICENSE file for license details. */ #include diff --git a/main.c b/main.c index eb8fb5db..a98e5e6b 100644 --- a/main.c +++ b/main.c @@ -1,5 +1,5 @@ -/* (C)opyright MMIV-MMVI Anselm R. Garbe - * (C)opyright MMVI-MMVII Kris Maglione +/* © 2004-2006 Anselm R. Garbe + * © 2006-2007 Kris Maglione * See LICENSE file for license details. */ #include @@ -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 --git a/mouse.c b/mouse.c index 30618775..0a1489bf 100644 --- a/mouse.c +++ b/mouse.c @@ -1,4 +1,4 @@ -/* (C)opyright MMVI Kris Maglione +/* © 2006 Kris Maglione * See LICENSE file for license details. */ #include diff --git a/rc/rc.wmii b/rc/rc.wmii index f55fd9f5..d040fa03 100755 --- a/rc/rc.wmii +++ b/rc/rc.wmii @@ -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 read_tags { fn run_command { @{ rfork ns path=$oldpath - eval exec $*