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:
28
x/xinitrc
Executable file
28
x/xinitrc
Executable 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
4
x/xinitrc.d/netbook.xinitrc
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
# enable vertical edge scrolling
|
||||
synclient VertEdgeScroll=1
|
||||
Reference in New Issue
Block a user