[hackers] [wmii] Remove stale xcb include line. || Kris Maglione

From: <hg_AT_suckless.org>
Date: Fri, 28 May 2010 15:05:08 +0000 (UTC)

changeset: 2664:a8059aae4368
tag: tip
user: Kris Maglione <kris_AT_suckless.org>
date: Fri May 28 11:05:01 2010 -0400
files: alternative_wmiircs/plan9port/wmiirc alternative_wmiircs/python/wmiirc.py cmd/tray/selection.c rc/wmiirc.sh
description:
Remove stale xcb include line.

diff -r d6c3a661b1ab -r a8059aae4368 alternative_wmiircs/plan9port/wmiirc
--- a/alternative_wmiircs/plan9port/wmiirc Fri May 28 00:29:31 2010 -0400
+++ b/alternative_wmiircs/plan9port/wmiirc Fri May 28 11:05:01 2010 -0400
@@ -52,9 +52,11 @@
 
 # Status Bar Info
 fn status {
- echo -n `{uptime | sed 's/.*://; s/,//g'} \
- '|' `{date}
-}
+ echo -n `{uptime | sed 's/.*://; s/,//g'} '|' \
+ `{date} }
+
+# Generic overridable startup details
+startup() { witray & }
 
 # End Configuration
 
@@ -72,8 +74,7 @@
 # Events
 fn sigexit {
         rm -f $progs_file
- wi_cleankeys
-}
+ wi_cleankeys}
 
 fn Event-CreateTag {
         echo $wmiinormcol $* | wmiir create /lbar/$"*}
@@ -167,6 +168,7 @@
 if not
         . `{wi_script -f wmiirc_local.rc}
 echo $wmiinormcol | wmiir create $noticebar
+startup
 
 # Key Bindings
 _keys = `{wi_getfuns Key}
diff -r d6c3a661b1ab -r a8059aae4368 alternative_wmiircs/python/wmiirc.py
--- a/alternative_wmiircs/python/wmiirc.py Fri May 28 00:29:31 2010 -0400
+++ b/alternative_wmiircs/python/wmiirc.py Fri May 28 11:05:01 2010 -0400
@@ -47,6 +47,7 @@
 
 terminal = 'wmiir', 'setsid', '@TERMINAL@'
 pygmi.shell = os.environ.get('SHELL', 'sh')
+tray = 'witray',
 
 @defmonitor
 def load(self):
@@ -305,4 +306,6 @@
         except Exception, e:
             traceback.print_exc(sys.stdout)
 
+call(*tray)
+
 # vim:se sts=4 sw=4 et:
diff -r d6c3a661b1ab -r a8059aae4368 cmd/tray/selection.c
--- a/cmd/tray/selection.c Fri May 28 00:29:31 2010 -0400
+++ b/cmd/tray/selection.c Fri May 28 11:05:01 2010 -0400
@@ -47,9 +47,6 @@
         return s;
 }
 
-#include <X11/Xlib-xcb.h>
-#include <xcb/xproto.h>
-
 Selection*
 selection_manage(char *selection, ulong time,
                  void (*message)(Selection*, XClientMessageEvent*),
diff -r d6c3a661b1ab -r a8059aae4368 rc/wmiirc.sh
--- a/rc/wmiirc.sh Fri May 28 00:29:31 2010 -0400
+++ b/rc/wmiirc.sh Fri May 28 11:05:01 2010 -0400
@@ -58,8 +58,12 @@
         echo -n $(uptime | sed 's/.*://; s/,//g') '|' $(date)
 }
 
+# Generic overridable startup details
+startup() { witray & }
+
 local_events() { true;}
 wi_runconf -s wmiirc_local
+startup
 
 echo $WMII_NORMCOLORS | wmiir create $noticebar
 
Received on Fri May 28 2010 - 15:05:08 UTC

This archive was generated by hypermail 2.2.0 : Fri May 28 2010 - 15:12:03 UTC