# export KEV_SCREEN_STATE="NORMAL"

setxkbmap -option "ctrl:nocaps"

# set the rotate button on the X220T to rotate
#xmodmap -e "keycode 198 = XF86RotateWindows"
#xmodmap -e "keycode 204 = XF86RotateWindows"

xrdb -merge $HOME/.Xresources

xload -g 74x20-285-0 -fg green -bg black -nolabel &
xclock -digital -twelve -g 285x20-0-0 -fg black -bg gray80 -padding 2 -update 1 -face "DejaVu Sans Mono:pixelsize=14" -chime &

# this script updates every 20 seconds with a new battery percent. It overlaps
# xlcock(1) by 75 pixels so that the killing of the battery's xclock looks less
# noticeable.
$HOME/bin/battery.sh &

exec cwm

