wmii

git clone git://oldgit.suckless.org/wmii/
Log | Files | Refs | README | LICENSE

__init__.py (668B)


      1 import os
      2 import sys
      3 
      4 from pyxp.asyncclient import Client
      5 
      6 if 'WMII_ADDRESS' in os.environ:
      7     client = Client(os.environ['WMII_ADDRESS'])
      8 else:
      9     client = Client(namespace='wmii')
     10 
     11 confpath = os.environ.get('WMII_CONFPATH', '%s/.wmii' % os.environ['HOME']).split(':')
     12 shell = os.environ['SHELL']
     13 
     14 sys.path += confpath
     15 
     16 from pygmi.util import *
     17 from pygmi.event import *
     18 from pygmi.fs import *
     19 from pygmi.menu import *
     20 from pygmi.monitor import *
     21 from pygmi import util, event, fs, menu, monitor
     22 
     23 __all__ = (fs.__all__ + monitor.__all__ + event.__all__ +
     24            menu.__all__ + util.__all__ +
     25            ('client', 'confpath', 'shell'))
     26 
     27 # vim:se sts=4 sw=4 et: