vinstaller/etc/xserver/x11

19 lines
613 B
Plaintext
Raw Normal View History

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