You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
406 B
19 lines
406 B
#!/bin/sh
|
|
|
|
installConfigurationFile() {
|
|
file="${1}"
|
|
|
|
if ! [ -f "${HOME}/.${file}" ]; then
|
|
if [ -f "/etc/xdg/${file}" ]; then
|
|
cp "/etc/xdg/${file}" "${HOME}/.${file}"
|
|
fi
|
|
fi
|
|
}
|
|
|
|
if [ -x /usr/bin/xsettingsd ]; then
|
|
installConfigurationFile "xsettingsd"
|
|
installConfigurationFile "fonts.conf"
|
|
installConfigurationFile "Xresources"
|
|
/usr/bin/xsettingsd &
|
|
fi
|