slackbuilds_ponce/desktop/ratpoison/xinitrc.ratpoison

21 lines
523 B
Text
Raw Normal View History

2010-05-11 14:03:47 +02:00
#!/bin/sh
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
2010-05-11 14:03:47 +02:00
# merge in defaults and keymaps
[ -f $sysresources ] && xrdb -merge $sysresources
[ -f $sysmodmap ] && xmodmap $sysmodmap
[ -f $userresources ] && xrdb -merge $userresources
[ -f $usermodmap ] && xmodmap $usermodmap
2010-05-11 14:03:47 +02:00
if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
exec ck-launch-session dbus-launch --exit-with-session ratpoison
else
exec ratpoison
fi