xinitrc.pekwm 597 B

1234567891011121314151617181920
  1. #!/bin/sh
  2. userresources=$HOME/.Xresources
  3. usermodmap=$HOME/.Xmodmap
  4. sysresources=/etc/X11/xinit/.Xresources
  5. sysmodmap=/etc/X11/xinit/.Xmodmap
  6. # merge in defaults and keymaps
  7. [ -f $sysresources ] && /usr/bin/xrdb -merge $sysresources
  8. [ -f $sysmodmap ] && /usr/bin/xmodmap $sysmodmap
  9. [ -f $userresources ] && /usr/bin/xrdb -merge $userresources
  10. [ -f $usermodmap ] && /usr/bin/xmodmap $usermodmap
  11. # Start the window manager:
  12. if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
  13. exec ck-launch-session dbus-launch --exit-with-session /usr/bin/pekwm
  14. else
  15. exec /usr/bin/pekwm
  16. fi