[dwm] background color or image

From: Albert Cardona <cardona_AT_ucla.edu>
Date: Sun, 04 Mar 2007 13:55:18 -0800

I remain clueless as to how to setup the xserver's background color, or
place an in image in it.
I'd appreciate some clue.

Since it took me about an hour, I'm sharing my xinitrc which fine tunes
the keyboard and prints my thinkpad's t60 battery status by the date,
something like:

20070304 13:53 0.06 41%

Albert

xmodmap ~/.Xmodmap
# turn off bell
xset -b
# fine-tune keyboard
xset r rate 200 50
xterm -rv &
MAX_BATTERY_CAPACITY=84240
while true
do
        echo `date '+%Y%m%d %H:%M'` `uptime | sed 's/.*:
\(.\...\),.*/\1/'` $(( (`cat /proc/acpi/battery/BAT0/state | grep
"remaining capacity" | sed 's/.*: \{5,\}\(.*\) mWh/\1/'` * 100) /
$MAX_BATTERY_CAPACITY))"%"
        sleep 20
done | dwm
Received on Sun Mar 04 2007 - 22:55:20 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:38:33 UTC