website: move footer.t2t to the section that belongs (according to language)
[dragora.git] / archive / icewm / xinitrc-icewm
blobc1d5abc6c13f3278d92274ea863ac5ac4c7a4029
1 #! /bin/sh -
3 userresources=$HOME/.Xresources
4 usermodmap=$HOME/.Xmodmap
5 sysresources=/etc/X11/xinit/.Xresources
6 sysmodmap=/etc/X11/xinit/.Xmodmap
8 # merge in defaults and keymaps
10 if [ -f $sysresources ]; then
11 xrdb -merge $sysresources
14 if [ -f $sysmodmap ]; then
15 xmodmap $sysmodmap
18 if [ -f "$userresources" ]; then
19 xrdb -merge "$userresources"
22 if [ -f "$usermodmap" ]; then
23 xmodmap "$usermodmap"
26 # To populate the user directory if needed
27 if test ! -d "${HOME}/.icewm"
28 then
29 mkdir -- "${HOME}/.icewm" && \
30 for file in /usr/share/icewm/*
32 test -f "$file" || continue;
34 cat -- "$file" > "${HOME}/.icewm/${file##*/}"
35 done
36 unset file
39 # Start IceWM
41 exec icewm-session