Thanks nightflier! It worked! Only one problem: there black background for the wbar only. I never got this black background when running wbar by refreshing in wbarconf. How to get transparent background for wbar?
Try something like thie (you can enter 'wbar --help' to find out what the parameters mean):
wbar -above-desk -p bottom -isize 28 -z 1.8 -j 1.0 -bpress -nanim 3 -balfa 0
The one most applicable to you is -balfa. You should also note that sometimes when wbar is started when your desktop (whatever it is) starts, it will end up having a black background, since it picks up whatever the background is. I found that I have to delay its start until the desktop settles. As a result, I use a script to start wbar. Works like this:
~!/bin/bash
sleep 4
wbar -above-desk -p bottom -isize 28 -z 1.8 -j 1.0 -bpress -nanim 3 -balfa 0
That allows the desktop to settle and means that wbar will pick up the desktop background properly.
Paul.