45 lines
873 B
Text
Executable file
45 lines
873 B
Text
Executable file
#!/bin/sh
|
|
|
|
if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
|
|
exec dbus-launch --exit-with-session "$0" "$@"
|
|
fi
|
|
|
|
if [ -z "$SSH_AGENT_PID" ]; then
|
|
exec ssh-agent "$0" "$@"
|
|
fi
|
|
|
|
userresources=$HOME/.Xresources
|
|
usermodmap=$HOME/.Xmodmap
|
|
sysresources=/etc/X11/xinit/.Xresources
|
|
sysmodmap=/etc/X11/xinit/.Xmodmap
|
|
|
|
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
|
|
|
|
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
|
|
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
|
|
[ -x "$f" ] && . "$f"
|
|
done
|
|
unset f
|
|
fi
|
|
|
|
setxkbmap fr
|
|
exec i3
|
|
# twm &
|
|
# xclock -geometry 50x50-1+1 &
|
|
# xterm -geometry 80x50+494+51 &
|
|
# xterm -geometry 80x20+494-0 &
|
|
# exec xterm -geometry 80x66+0+0 -name login
|