summaryrefslogtreecommitdiff
path: root/desktop/subtle/xinitrc.subtle
diff options
context:
space:
mode:
authorVincent Batts <vbatts@hashbangbash.com>2011-07-09 16:17:25 -0400
committerNiels Horn <niels.horn@slackbuilds.org>2011-07-14 21:54:03 -0300
commitedb063d57495e480c0ae2120d6cf65c67d515ce6 (patch)
tree4e92a0960514fb5ab958a2e6f713962aebd8588a /desktop/subtle/xinitrc.subtle
parente0f1aa4a109dfaa680f5b82ae313f0059919d568 (diff)
downloadslackbuilds-edb063d57495e480c0ae2120d6cf65c67d515ce6.tar.gz
desktop/subtle: Added (ruby based tiling WM)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'desktop/subtle/xinitrc.subtle')
-rw-r--r--desktop/subtle/xinitrc.subtle16
1 files changed, 16 insertions, 0 deletions
diff --git a/desktop/subtle/xinitrc.subtle b/desktop/subtle/xinitrc.subtle
new file mode 100644
index 0000000000..f754e34c03
--- /dev/null
+++ b/desktop/subtle/xinitrc.subtle
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+userresources=$HOME/.Xresources
+usermodmap=$HOME/.Xmodmap
+sysresources=/etc/X11/xinit/.Xresources
+sysmodmap=/etc/X11/xinit/.Xmodmap
+
+# merge in defaults and keymaps
+
+[ -f $sysresources ] && xrdb -merge $sysresources
+[ -f $sysmodmap ] && xmodmap $sysmodmap
+[ -f $userresources ] && xrdb -merge $userresources
+[ -f $usermodmap ] && xmodmap $usermodmap
+
+exec subtle
+