Skip to content
CAW!
Python C Shell
Find file
Latest commit 795e6d7 Apr 22, 2015 @milkypostman Merge pull request #7 from Narrat/xevent
Fix segfalting if the mouse is moved onto caw or workspaces change.
Failed to load latest commit information.
Packaging/Arch Update PKGBuild to latest Guidelines Mar 17, 2015
bin
caw Check for AttributeError as another condition to break _process_xeven… Apr 22, 2015
doc documentation updates Aug 23, 2009
etc Adding prefix 'CPU' for consistency Apr 6, 2014
.gitignore Updated to use config file. Jul 28, 2009
README .type was changed to .response_type in xpyb 1.3 Apr 18, 2015
setup.cfg Setup works and installs properly Jul 29, 2009
setup.py Add support for the xpyb replacement xcffib Mar 30, 2015

README

CAW!!!

CAW is a easily customizable taskbar written in Python 2.x.

Dependencies
--

libxcb 1.11
xcb-proto 1.11
xcb-util 0.3.4
xpyb 1.3.1 OR xcffib 0.2.3
cairo 1.8.8
pango 1.24.5


Building
---------

python2 setup.py build


Install
--------

python2 setup.py install


Configuration
-----------------

A sample config is provided: /etc/xdg/caw/config.py

Copy this file to: $HOME/.config/caw/config.py

for more information on widgets and configuration settings:
http://caw.milkbox.net


Running
--------

caw



*** Development Notes ***

Running from the Build Directory (GIT)
----------------------------------------

1. export your PYTHONPATH to use the development path (where arch is your
   architecture (i686 / x86_64)

export PYTHONPATH=$SRC/caw/build/lib.linux-<arch>-2.6


2. build caw.

python setup.py build


3. execute 'caw' or directly run your configuration file.

bin/caw

or

python $HOME/.config/caw/config.py


Make sure if you make modifications to your source you rebuild it.  I normally leave
one terminal open to the <src> directory then run:

python setup.py build && python $HOME/.config/caw/config.py




Notes
--
I tried as much as possible to use the XPYB implementation but there are some
things (such as cairo drawing) that cannot be done on the Python side using XCB.
The choice to use XCB was two-fold: to learn xcb and to use something that is
predicted to be the new xlib (maybe?).  Anyways, I am using openbox, it relies
on pango which in-turn relies on cairo so that is OK.
Something went wrong with that request. Please try again.