diff options
Diffstat (limited to 'desktop/awesome/xinitrc.awesome')
-rw-r--r-- | desktop/awesome/xinitrc.awesome | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/desktop/awesome/xinitrc.awesome b/desktop/awesome/xinitrc.awesome new file mode 100644 index 0000000000000..1bc775e72eec3 --- /dev/null +++ b/desktop/awesome/xinitrc.awesome @@ -0,0 +1,20 @@ +#!/bin/sh +# $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $ + +userresources=$HOME/.Xresources +usermodmap=$HOME/.Xmodmap +sysresources=/etc/X11/xinit/.Xresources +sysmodmap=/etc/X11/xinit/.Xmodmap + +# merge in defaults and keymaps +[ -f $sysresources ] && xrdb -merge $sysresources +[ -f $sysmodmap ] && xmodmap $sysmodmap +[ -f $userresources ] && xrdb -merge $userresources +[ -f $usermodmap ] && xmodmap $usermodmap + +# Start the window manager: +if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then + ck-launch-session dbus-launch --exit-with-session awesome +else + awesome +fi |