diff options
author | Wainamoinen <wainamoinen@gmail.com> | 2012-01-29 16:02:14 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-02-11 21:19:29 -0600 |
commit | 1aac783e12ce25ac22f0eeec274fc0e5e4129116 (patch) | |
tree | ba60a70c7a12103f02540bdb5e256ece4be85996 /desktop/jwm/xinitrc.jwm | |
parent | 29ca0fd354441fd9964153c87da44217fdbc019c (diff) | |
download | slackbuilds-1aac783e12ce25ac22f0eeec274fc0e5e4129116.tar.gz |
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.jwm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/desktop/jwm/xinitrc.jwm b/desktop/jwm/xinitrc.jwm new file mode 100644 index 0000000000..38b0be1ae9 --- /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 |