summaryrefslogtreecommitdiff
path: root/desktop/ion/xinitrc.ion
diff options
context:
space:
mode:
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