dotfiles/.xinitrc

56 lines
753 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
2018-06-02 00:13:25 +02:00
2019-07-19 23:11:53 +02:00
xrdb -merge "$userresources"
2018-06-02 00:13:25 +02:00
2019-07-19 23:11:53 +02:00
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-01-09 21:17:01 +01: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
setxkbmap fr oss
2019-07-19 23:11:53 +02:00
exec i3 #--shmlog-size=26214400