mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
aa8b4727fc
Signed-off-by: Michiel van Wessem <michiel@slackbuilds.org>
27 lines
522 B
Bash
27 lines
522 B
Bash
#!/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
|
|
|