cleanup xinitrc

This commit is contained in:
Felix Van der Jeugt 2017-10-10 14:14:23 +02:00
parent 9a823c7ebc
commit 4ba9281dd3
No known key found for this signature in database
GPG Key ID: 58B209295023754D
3 changed files with 0 additions and 35 deletions

3
.gitmodules vendored
View File

@ -1,3 +0,0 @@
[submodule "config/base16-shell"]
path = config/base16-shell
url = https://github.com/chriskempson/base16-shell.git

@ -1 +0,0 @@
Subproject commit 5acf5629a8bd186399a378c37c10507675525514

31
xinitrc
View File

@ -1,36 +1,5 @@
#!/bin/sh #!/bin/sh
userresources=$HOME/.config/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
fi
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
# My lovely bar # My lovely bar
bar() { bar() {
while sleep 1; do while sleep 1; do