mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
desktop/enlightenment: Poke consolekit in xinitrc
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
2c80188af4
commit
5a5a9760ce
2 changed files with 13 additions and 20 deletions
|
@ -6,7 +6,7 @@
|
|||
|
||||
PRGNAM=enlightenment
|
||||
VERSION=${VERSION:-0.16.999.52995}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
|
|
@ -3,26 +3,19 @@
|
|||
|
||||
userresources=$HOME/.Xresources
|
||||
usermodmap=$HOME/.Xmodmap
|
||||
sysresources=/usr/lib/X11/xinit/.Xresources
|
||||
sysmodmap=/usr/lib/X11/xinit/.Xmodmap
|
||||
sysresources=/etc/X11/xinit/.Xresources
|
||||
sysmodmap=/etc/X11/xinit/.Xmodmap
|
||||
|
||||
# merge in defaults and keymaps
|
||||
|
||||
if [ -f $sysresources ]; then
|
||||
xrdb -merge $sysresources
|
||||
fi
|
||||
|
||||
if [ -f $sysmodmap ]; then
|
||||
xmodmap $sysmodmap
|
||||
fi
|
||||
|
||||
if [ -f $userresources ]; then
|
||||
xrdb -merge $userresources
|
||||
fi
|
||||
|
||||
if [ -f $usermodmap ]; then
|
||||
xmodmap $usermodmap
|
||||
fi
|
||||
[ -f $sysresources ] && xrdb -merge $sysresources
|
||||
[ -f $sysmodmap ] && xmodmap $sysmodmap
|
||||
[ -f $userresources ] && xrdb -merge $userresources
|
||||
[ -f $usermodmap ] && xmodmap $usermodmap
|
||||
|
||||
# Start the window manager:
|
||||
exec /usr/bin/enlightenment_start
|
||||
if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
|
||||
exec ck-launch-session enlightenment_start
|
||||
else
|
||||
exec enlightenment_start
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue