diff options
author | Robby Workman <rw@rlworkman.net> | 2010-10-18 23:05:35 +0100 |
---|---|---|
committer | Michiel van Wessem <michiel@slackbuilds.org> | 2010-10-18 23:05:35 +0100 |
commit | aa8b4727fc2f9b42fb956e8d4bf40ac3845ffa98 (patch) | |
tree | 68e4586a505cdfa69c438acdfe3fbbd08717222d /system/lxdm/xinitrc | |
parent | 109932ba36192cd89fc5138c3973eb3ad75c5792 (diff) |
system/lxdm: Updated for version 0.3.0.
Signed-off-by: Michiel van Wessem <michiel@slackbuilds.org>
Diffstat (limited to 'system/lxdm/xinitrc')
-rw-r--r-- | system/lxdm/xinitrc | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/system/lxdm/xinitrc b/system/lxdm/xinitrc new file mode 100644 index 0000000000000..d861e47f5684e --- /dev/null +++ b/system/lxdm/xinitrc @@ -0,0 +1,27 @@ +#!/bin/sh +# This file is referenced from /etc/lxdm/Xsession +# This is for system-specific customization if desired + +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 + |