summaryrefslogtreecommitdiff
path: root/desktop/ion-3ds/xinitrc.ion
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/ion-3ds/xinitrc.ion')
-rw-r--r--desktop/ion-3ds/xinitrc.ion14
1 files changed, 14 insertions, 0 deletions
diff --git a/desktop/ion-3ds/xinitrc.ion b/desktop/ion-3ds/xinitrc.ion
new file mode 100644
index 0000000000..2520ecb720
--- /dev/null
+++ b/desktop/ion-3ds/xinitrc.ion
@@ -0,0 +1,14 @@
+#!/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
+test -f $sysresources && xrdb -merge $sysresources
+test -f $sysmodmap && xmodmap $sysmodmap
+test -f $userresources && xrdb -merge $userresources
+test -f $usermodmap && xmodmap $usermodmap
+
+exec ion3