vinstaller/etc/xserver/x11
2022-02-09 10:41:57 +01:00

40 lines
1.3 KiB
Plaintext

packages() {
if [ "${LANGUAGE_}" == "en" ]; then
lang=${L1//_/-}
else
lang="${LANGUAGE_}"
fi
addpkg xorg-minimal xorg-apps xorg-fonts dbus noto-fonts-emoji mesa-dri vulkan-loader
addpkg "firefox-i18n-${lang}"
addpkg libreoffice-writer libreoffice-calc "libreoffice-i18n-${lang}"
addpkg "thunderbird-i18n-${lang}"
addpkg element-desktop
addpkg vlc yt-dlp
addpkg alsa-utils
addpkg "aspell-${LANGUAGE_}" gspell
addpkg ${email} ${terminal} ${imageviewer} ${pdf} ${filemanager} ${archiver} ${screenshot} ${calc} ${pinentry} ${keyring} ${gpg} ${policykit} ${sshaskpass} ${partmanager} ${dm} ${de} ${misc}
ignorepkg font-adobe-75dpi font-adobe-100dpi
}
config() {
enable_service dbus alsa
disable_service acpid
ln -s /usr/share/fontconfig/conf.avail/70-no-bitmaps.conf /etc/fonts/conf.d/
if [ "${KEY_LANG}" == "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/00-keyboard.conf
fi
ln -s /usr/bin/yt-dlp /usr/local/bin/youtube-dl
}