dotfiles

custom dotfiles
git clone git://git.pyratebeard.net/dotfiles.git
Log | Files | Refs | README

commit 0e8b6b70de2629e956e07e7e402883d804a17895
parent a1de86c4c99f4c47504c6737ea4e910058d70763
Author: dudley <root@pyratebeard.net>
Date:   Fri, 10 Mar 2017 00:23:33 +0000

store xinit files

Diffstat:
Axinit/.xinitrc | 51+++++++++++++++++++++++++++++++++++++++++++++++++++
Axinit/.xserverrc | 2++
2 files changed, 53 insertions(+), 0 deletions(-)

diff --git a/xinit/.xinitrc b/xinit/.xinitrc @@ -0,0 +1,51 @@ +#!/bin/sh + +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 +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 + +exec awesome diff --git a/xinit/.xserverrc b/xinit/.xserverrc @@ -0,0 +1,2 @@ +#!/bin/sh +exec /usr/bin/X -nolisten tcp "$@"