2022-02-07 04:18:16 +01:00
|
|
|
packages() {
|
2022-02-09 00:51:20 +01:00
|
|
|
if [ "${LANGUAGE}" == "en" ]; then
|
|
|
|
lang=${L1//_/-}
|
|
|
|
else
|
|
|
|
lang="${LANGUAGE}"
|
|
|
|
fi
|
2022-02-08 19:53:21 +01:00
|
|
|
addpkg xorg-minimal xorg-apps xorg-fonts dbus noto-fonts-emoji mesa-dri vulkan-loader
|
2022-02-09 00:51:20 +01:00
|
|
|
addpkg "firefox-i18n-${lang}"
|
|
|
|
addpkg libreoffice-writer libreoffice-calc "libreoffice-i18n-${lang}"
|
|
|
|
addpkg "thunderbird-i18n-${lang}"
|
2022-02-07 21:57:02 +01:00
|
|
|
addpkg element-desktop
|
2022-02-07 22:50:49 +01:00
|
|
|
addpkg vlc yt-dlp
|
2022-02-08 19:53:21 +01:00
|
|
|
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
|
2022-02-07 16:35:25 +01:00
|
|
|
}
|
|
|
|
|
2022-02-08 19:53:21 +01:00
|
|
|
|
2022-02-07 16:35:25 +01:00
|
|
|
config() {
|
2022-02-08 19:53:21 +01:00
|
|
|
enable_service dbus alsa
|
2022-02-09 01:24:54 +01:00
|
|
|
disable_service acpid
|
2022-02-07 22:50:49 +01:00
|
|
|
ln -s /usr/share/fontconfig/conf.avail/70-no-bitmaps.conf /etc/fonts/conf.d/
|
2022-02-07 16:35:25 +01:00
|
|
|
|
2022-02-09 01:24:54 +01:00
|
|
|
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/10-keyboard.conf
|
|
|
|
fi
|
|
|
|
|
|
|
|
ln -s /usr/bin/yt-dlp /usr/local/bin/youtube-dl
|
2022-02-08 23:51:33 +01:00
|
|
|
}
|