Added ~/.xinitrc to the repository.

In addition, a host-specific file that will be executed
by .xinitrc was added in ~/.xinitrc.d/.
This commit is contained in:
2013-09-18 18:01:16 +02:00
parent 9f0c304fed
commit 31ed7c9620
4 changed files with 33 additions and 18 deletions

28
x/xinitrc Executable file
View File

@@ -0,0 +1,28 @@
#!/bin/bash
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
[ -f /etc/xprofile ] && source /etc/xprofile
[ -f ~/.xprofile ] && source ~/.xprofile
# execute the host-specific .xinitrc-addition
hostfile="$HOME/.xinitrc.d/$(hostname).xinitrc"
[[ -f "$hostfile" ]] && bash "$hostfile" &
case $1 in
e17)
exec enlightenment_start
;;
i3)
exec i3
;;
xfce4) ;;
*)
exec i3
;;
esac

4
x/xinitrc.d/netbook.xinitrc Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/bash
# enable vertical edge scrolling
synclient VertEdgeScroll=1