Remove stale xcb include line.

This commit is contained in:
Kris Maglione 2010-05-28 11:05:01 -04:00
parent 7792c327d0
commit b2ea1da6ba
4 changed files with 14 additions and 8 deletions

View File

@ -52,9 +52,11 @@ wmiir write /tagrules <<!
# Status Bar Info # Status Bar Info
fn status { fn status {
echo -n `{uptime | sed 's/.*://; s/,//g'} \ echo -n `{uptime | sed 's/.*://; s/,//g'} '|' \
'|' `{date} `{date} }
}
# Generic overridable startup details
startup() { witray & }
# End Configuration # End Configuration
@ -72,8 +74,7 @@ confpath=`{echo $WMII_CONFPATH | sed 'y/:/ /'}
# Events # Events
fn sigexit { fn sigexit {
rm -f $progs_file rm -f $progs_file
wi_cleankeys wi_cleankeys}
}
fn Event-CreateTag { fn Event-CreateTag {
echo $wmiinormcol $* | wmiir create /lbar/$"*} echo $wmiinormcol $* | wmiir create /lbar/$"*}
@ -167,6 +168,7 @@ if(~ $0 ('' */)wmiirc_local.rc)
if not if not
. `{wi_script -f wmiirc_local.rc} . `{wi_script -f wmiirc_local.rc}
echo $wmiinormcol | wmiir create $noticebar echo $wmiinormcol | wmiir create $noticebar
startup
# Key Bindings # Key Bindings
_keys = `{wi_getfuns Key} _keys = `{wi_getfuns Key}

View File

@ -47,6 +47,7 @@ setbackground(background)
terminal = 'wmiir', 'setsid', '@TERMINAL@' terminal = 'wmiir', 'setsid', '@TERMINAL@'
pygmi.shell = os.environ.get('SHELL', 'sh') pygmi.shell = os.environ.get('SHELL', 'sh')
tray = 'witray',
@defmonitor @defmonitor
def load(self): def load(self):
@ -305,4 +306,6 @@ if not os.environ.get('WMII_NOPLUGINS', ''):
except Exception, e: except Exception, e:
traceback.print_exc(sys.stdout) traceback.print_exc(sys.stdout)
call(*tray)
# vim:se sts=4 sw=4 et: # vim:se sts=4 sw=4 et:

View File

@ -47,9 +47,6 @@ selection_create(char *selection, ulong time,
return s; return s;
} }
#include <X11/Xlib-xcb.h>
#include <xcb/xproto.h>
Selection* Selection*
selection_manage(char *selection, ulong time, selection_manage(char *selection, ulong time,
void (*message)(Selection*, XClientMessageEvent*), void (*message)(Selection*, XClientMessageEvent*),

View File

@ -58,8 +58,12 @@ status() {
echo -n $(uptime | sed 's/.*://; s/,//g') '|' $(date) echo -n $(uptime | sed 's/.*://; s/,//g') '|' $(date)
} }
# Generic overridable startup details
startup() { witray & }
local_events() { true;} local_events() { true;}
wi_runconf -s wmiirc_local wi_runconf -s wmiirc_local
startup
echo $WMII_NORMCOLORS | wmiir create $noticebar echo $WMII_NORMCOLORS | wmiir create $noticebar