mirror of
https://github.com/tomru/DotfilesOld.git
synced 2026-03-03 22:47:29 +01:00
46 lines
987 B
Bash
Executable File
46 lines
987 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# ~/.xinitrc
|
|
#
|
|
# Executed by startx (run your window manager from here)
|
|
|
|
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
|
|
|
|
pulseaudio --start
|
|
|
|
eval $(gpg-agent --enable-ssh-support --daemon)
|
|
|
|
xrdb $HOME/.Xresources
|
|
|
|
# add additional fonts
|
|
xset +fp /usr/share/fonts/local
|
|
xset fp rehash
|
|
|
|
case $1 in
|
|
enlightenment)
|
|
exec enlightenment_start
|
|
;;
|
|
xterm)
|
|
exec xterm
|
|
;;
|
|
bspwm)
|
|
sxhkd &
|
|
exec bspwm
|
|
;;
|
|
hlwm|*) # default is herbstluftwm
|
|
/usr/bin/xscreensaver -no-splash &
|
|
xbindkeys &
|
|
exec herbstluftwm --locked
|
|
;;
|
|
esac
|
|
;;
|
|
esac
|
|
|