vinstaller/etc/xserver/x11
2022-02-07 18:22:59 +01:00

19 lines
613 B
Plaintext

packages() {
addpkg xorg-minimal xorg-apps dbus
}
config() {
enable_service dbus
ln -s /usr/share/fontconfig/conf.avail/70-no-bitmaps.conf "${dest}"/etc/fonts/conf.d/
if [ "$LANGUAGE" == "de" ]; then
mkdir -p /etc/X11/xorg.conf.d
{ echo "Section \"InputClass\"";
echo " Identifier \"keyboard\"";
echo " MatchIsKeyboard \"yes\"";
echo " Option \"XkbLayout\" \"de\"";
echo " Option \"XkbVariant\" \"nodeadkeys\"";
echo " #Option \"XkbOptions\" \"grp:alt_shift_toggle\"";
echo "EndSection"; } > /etc/X11/xorg.conf.d/10-keyboard.conf
fi
}