xinitrc.subtle 538 B

12345678910111213141516171819202122
  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 ] && xrdb -merge $sysresources
  8. [ -f $sysmodmap ] && xmodmap $sysmodmap
  9. [ -f $userresources ] && xrdb -merge $userresources
  10. [ -f $usermodmap ] && 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 subtle
  14. else
  15. subtle
  16. fi