aboutsummaryrefslogtreecommitdiff
path: root/desktop/jwm/xinitrc.jwm
diff options
context:
space:
mode:
authorWainamoinen <wainamoinen@gmail.com>2012-01-29 16:02:14 -0600
committerRobby Workman <rworkman@slackbuilds.org>2012-02-11 21:19:29 -0600
commit1aac783e12ce25ac22f0eeec274fc0e5e4129116 (patch)
treeba60a70c7a12103f02540bdb5e256ece4be85996 /desktop/jwm/xinitrc.jwm
parent29ca0fd354441fd9964153c87da44217fdbc019c (diff)
desktop/jwm: Added (Joe's Window Manager)
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'desktop/jwm/xinitrc.jwm')
-rw-r--r--desktop/jwm/xinitrc.jwm26
1 files changed, 26 insertions, 0 deletions
diff --git a/desktop/jwm/xinitrc.jwm b/desktop/jwm/xinitrc.jwm
new file mode 100644
index 0000000000000..38b0be1ae9f65
--- /dev/null
+++ b/desktop/jwm/xinitrc.jwm
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+userresources=$HOME/.Xresources
+usermodmap=$HOME/.Xmodmap
+sysresources=/etc/X11/xinit/.Xresources
+sysmodmap=/etc/X11/xinit/.Xmodmap
+
+# merge in defaults and keymaps
+
+if [ -f $sysresources ]; then
+ xrdb -merge $sysresources
+fi
+
+if [ -f $sysmodmap ]; then
+ xmodmap $sysmodmap
+fi
+
+if [ -f $userresources ]; then
+ xrdb -merge $userresources
+fi
+
+if [ -f $usermodmap ]; then
+ xmodmap $usermodmap
+fi
+
+exec /usr/bin/jwm