dotfiles/.xinitrc

41 lines
736 B
Text
Raw Normal View History

2018-06-02 00:13:25 +02:00
#!/bin/sh
2019-07-19 23:11:53 +02:00
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
2018-06-02 00:13:25 +02:00
fi
2019-07-19 23:11:53 +02:00
if [ -f "$userresources" ]; then
xrdb -merge "$userresources"
fi
if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
fi
# start some nice programs
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
2018-06-02 00:13:25 +02:00
2020-09-15 02:45:25 +02:00
urxvtd -q -f -o
2020-05-17 20:29:45 +02:00
[ -f $HOME/.fehbg ] && $HOME/.fehbg
2019-07-19 23:11:53 +02:00
[ -f $HOME/.screenlayout/home.sh ] && $HOME/.screenlayout/home.sh
2018-12-26 00:40:38 +01:00
2019-07-19 23:11:53 +02:00
exec i3 #--shmlog-size=26214400