spacepaste

  1.  
  2. #!/bin/sh
  3. userresources=$HOME/.Xresources
  4. usermodmap=$HOME/.Xmodmap
  5. sysresources=/etc/X11/xinit/.Xresources
  6. sysmodmap=/etc/X11/xinit/.Xmodmap
  7. # merge in defaults and keymaps
  8. if [ -f $sysresources ]; then
  9. xrdb -merge $sysresources
  10. fi
  11. if [ -f $sysmodmap ]; then
  12. xmodmap $sysmodmap
  13. fi
  14. if [ -f "$userresources" ]; then
  15. xrdb -merge "$userresources"
  16. fi
  17. if [ -f "$usermodmap" ]; then
  18. xmodmap "$usermodmap"
  19. fi
  20. # start some nice programs
  21. if [ -d /etc/X11/xinit/xinitrc.d ] ; then
  22. for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
  23. [ -x "$f" ] && . "$f"
  24. done
  25. unset f
  26. fi
  27. #twm &
  28. #xclock -geometry 50x50-1+1 &
  29. #xterm -geometry 80x50+494+51 &
  30. #xterm -geometry 80x20+494-0 &
  31. #exec xterm -geometry 80x66+0+0 -name login
  32. exec xfwm4 --compositor=on
  33.