summaryrefslogtreecommitdiff
path: root/desktop/pekwm/xinitrc.pekwm
diff options
context:
space:
mode:
authorVasilis Papavasileiou <el03020@mail.ntua.gr>2010-05-11 14:03:47 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 14:03:47 +0200
commit3d005a5358e142ef310857c06f07201e16f54319 (patch)
tree776b58d9d9ce39e1cd2069fdcba059feb6a56bc5 /desktop/pekwm/xinitrc.pekwm
parent6c885a900dcfbc1202c359b19a7ff89ed3ffb6d0 (diff)
downloadslackbuilds-3d005a5358e142ef310857c06f07201e16f54319.tar.gz
desktop/pekwm: Initial import
Diffstat (limited to 'desktop/pekwm/xinitrc.pekwm')
-rw-r--r--desktop/pekwm/xinitrc.pekwm26
1 files changed, 26 insertions, 0 deletions
diff --git a/desktop/pekwm/xinitrc.pekwm b/desktop/pekwm/xinitrc.pekwm
new file mode 100644
index 0000000000..d24b870b51
--- /dev/null
+++ b/desktop/pekwm/xinitrc.pekwm
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+userresources=$HOME/.Xresources
+usermodmap=$HOME/.Xmodmap
+sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
+sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap
+
+# merge in defaults and keymaps
+
+if [ -f $sysresources ]; then
+ /usr/X11R6/bin/xrdb -merge $sysresources
+fi
+
+if [ -f $sysmodmap ]; then
+ /usr/X11R6/bin/xmodmap $sysmodmap
+fi
+
+if [ -f $userresources ]; then
+ /usr/X11R6/bin/xrdb -merge $userresources
+fi
+
+if [ -f $usermodmap ]; then
+ /usr/X11R6/bin/xmodmap $usermodmap
+fi
+
+exec pekwm