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:
8
xinitrc
8
xinitrc
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user