vinstaller/etc/xserver/x11
2022-02-07 22:50:49 +01:00

25 lines
884 B
Plaintext

packages() {
addpkg xorg-minimal xorg-apps xorg-fonts dbus "${X11_MODULE}"
addpkg "firefox-i18n-${LANGUAGE}"
addpkg libreoffice-writer libreoffice-calc "libreoffice-i18n-${LANGUAGE}"
addpkg "thunderbird-i18n-${LANGUAGE}"
addpkg element-desktop
addpkg vlc yt-dlp
}
config() {
enable_service dbus
ln -s /usr/share/fontconfig/conf.avail/70-no-bitmaps.conf /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
ln -s /usr/bin/yt-dlp /usr/local/bin/youtube-dl
}