summaryrefslogtreecommitdiff
path: root/desktop/ion/xinitrc.ion
diff options
context:
space:
mode:
authorVasilis Papavasileiou <el03020@mail.ntua.gr>2010-05-11 20:00:07 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 20:00:07 +0200
commit982d7e9e5261460e33beb7e3fcba5f34ee6fbe7e (patch)
tree9dc84342c93ce5274840480116fc22a1a2309ea2 /desktop/ion/xinitrc.ion
parent1df084bbcab9fde8772b41852172310994405aec (diff)
downloadslackbuilds-982d7e9e5261460e33beb7e3fcba5f34ee6fbe7e.tar.gz
desktop/ion: Added to 12.0 repository
Diffstat (limited to 'desktop/ion/xinitrc.ion')
-rw-r--r--desktop/ion/xinitrc.ion14
1 files changed, 14 insertions, 0 deletions
diff --git a/desktop/ion/xinitrc.ion b/desktop/ion/xinitrc.ion
new file mode 100644
index 0000000000..5579c7e48a
--- /dev/null
+++ b/desktop/ion/xinitrc.ion
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+userresources=$HOME/.Xresources
+usermodmap=$HOME/.Xmodmap
+sysresources=/usr/lib/X11/xinit/.Xresources
+sysmodmap=/usr/lib/X11/xinit/.Xmodmap
+
+# Merge in defaults and keymaps
+test -f $sysresources && xrdb -merge $sysresources
+test -f $sysmodmap && xmodmap $sysmodmap
+test -f $userresources && xrdb -merge $userresources
+test -f $usermodmap && xmodmap $usermodmap
+
+exec ion3