mirror of
https://github.com/tomru/DotfilesOld.git
synced 2026-03-04 23:17:22 +01:00
make xinitrc hostname specific
This commit is contained in:
24
xinitrc
24
xinitrc
@@ -4,23 +4,26 @@
|
||||
#
|
||||
# Executed by startx (run your window manager from here)
|
||||
|
||||
if [ -d /etc/X11/xinit/xinitrc.d ]; then
|
||||
case $((hostname)) in
|
||||
t430s-arch)
|
||||
if [ -d /etc/X11/xinit/xinitrc.d ]; then
|
||||
for f in /etc/X11/xinit/xinitrc.d/*; do
|
||||
[ -x "$f" ] && . "$f"
|
||||
done
|
||||
unset f
|
||||
fi
|
||||
fi
|
||||
|
||||
start-pulseaudio-x11
|
||||
eval $(gpg-agent --daemon) &
|
||||
pulseaudio --start
|
||||
|
||||
xrdb $HOME/.Xresources
|
||||
eval $(gpg-agent --daemon) &
|
||||
|
||||
# add additional fonts
|
||||
xset +fp /usr/share/fonts/local
|
||||
xset fp rehash
|
||||
xrdb $HOME/.Xresources
|
||||
|
||||
case $1 in
|
||||
# add additional fonts
|
||||
xset +fp /usr/share/fonts/local
|
||||
xset fp rehash
|
||||
|
||||
case $1 in
|
||||
enlightenment)
|
||||
exec enlightenment_start
|
||||
;;
|
||||
@@ -36,4 +39,7 @@ case $1 in
|
||||
xbindkeys &
|
||||
exec herbstluftwm --locked
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
Reference in New Issue
Block a user