make xinitrc hostname specific

This commit is contained in:
Thomas Ruoff
2014-05-18 00:09:56 +02:00
parent 842c289cd7
commit b536816ab7

View File

@@ -4,6 +4,8 @@
# #
# Executed by startx (run your window manager from here) # Executed by startx (run your window manager from here)
case $((hostname)) in
t430s-arch)
if [ -d /etc/X11/xinit/xinitrc.d ]; then if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f" [ -x "$f" ] && . "$f"
@@ -11,7 +13,8 @@ if [ -d /etc/X11/xinit/xinitrc.d ]; then
unset f unset f
fi fi
start-pulseaudio-x11 pulseaudio --start
eval $(gpg-agent --daemon) & eval $(gpg-agent --daemon) &
xrdb $HOME/.Xresources xrdb $HOME/.Xresources
@@ -37,3 +40,6 @@ case $1 in
exec herbstluftwm --locked exec herbstluftwm --locked
;; ;;
esac esac
;;
esac