Ajout : nouveau xinitrc
This commit is contained in:
parent
49f2151843
commit
46ade17fff
1 changed files with 45 additions and 0 deletions
45
home/xinitrc
Executable file
45
home/xinitrc
Executable file
|
@ -0,0 +1,45 @@
|
||||||
|
#!/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
|
Loading…
Reference in a new issue