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