xsession 627 B

123456789101112131415161718192021
  1. # export KEV_SCREEN_STATE="NORMAL"
  2. setxkbmap -option "ctrl:nocaps"
  3. # set the rotate button on the X220T to rotate
  4. #xmodmap -e "keycode 198 = XF86RotateWindows"
  5. #xmodmap -e "keycode 204 = XF86RotateWindows"
  6. xrdb -merge $HOME/.Xresources
  7. xload -g 74x20-285-0 -fg green -bg black -nolabel &
  8. xclock -digital -twelve -g 285x20-0-0 -fg black -bg gray80 -padding 2 -update 1 -face "DejaVu Sans Mono:pixelsize=14" -chime &
  9. # this script updates every 20 seconds with a new battery percent. It overlaps
  10. # xlcock(1) by 75 pixels so that the killing of the battery's xclock looks less
  11. # noticeable.
  12. $HOME/bin/battery.sh &
  13. exec cwm