vinstaller/etc/xserver/x11

18 lines
591 B
Plaintext
Raw Normal View History

2022-02-07 04:18:16 +01:00
packages() {
addpkg "xorg-minimal" "xorg-apps"
2022-02-07 16:35:25 +01:00
}
config() {
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
2022-02-07 04:18:16 +01:00
}