fix locales

This commit is contained in:
Mylloon 2022-06-06 16:44:10 +02:00
parent d0ed448c88
commit 63d4549a9e
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

43
arch.sh
View file

@ -23,6 +23,11 @@ then
# === Disable wayland == # === Disable wayland ==
sudo sed -i 's/#Wayland/Wayland/g' /etc/gdm/custom.conf sudo sed -i 's/#Wayland/Wayland/g' /etc/gdm/custom.conf
# === Locales ==
sudo sed -i 's/fr_FR.UTF-8.UTF-8 UTF-8/fr_FR.UTF8 UTF-8/g' /etc/locale.gen
sudo locale-gen
fish -c "set -Ux LC_ALL fr_FR.UTF-8"
# === Fish == # === Fish ==
# Remove motd # Remove motd
fish -c "set -U fish_greeting" fish -c "set -U fish_greeting"
@ -267,43 +272,6 @@ then
sudo sed -i "3s#.*#Name=Paint#" /usr/share/applications/org.kde.kolourpaint.desktop sudo sed -i "3s#.*#Name=Paint#" /usr/share/applications/org.kde.kolourpaint.desktop
fi fi
# === Emojis ==
# sudo echo "<?xml version=\"1.0\"?>
# <!DOCTYPE fontconfig SYSTEM \"fonts.dtd\">
# <fontconfig>
# <alias>
# <family>sans-serif</family>
# <prefer>
# <family>Noto Sans</family>
# <family>Noto Color Emoji</family>
# <family>Noto Emoji</family>
# <family>DejaVu Sans</family>
# </prefer>
# </alias>
# <alias>
# <family>serif</family>
# <prefer>
# <family>Noto Serif</family>
# <family>Noto Color Emoji</family>
# <family>Noto Emoji</family>
# <family>DejaVu Serif</family>
# </prefer>
# </alias>
# <alias>
# <family>monospace</family>
# <prefer>
# <family>Noto Mono</family>
# <family>Noto Color Emoji</family>
# <family>Noto Emoji</family>
# <family>DejaVu Sans Mono</family>
# </prefer>
# </alias>
# </fontconfig>
# " | sudo tee /etc/fonts/local.conf
# fc-cache
# === Power plan == # === Power plan ==
sudo systemctl enable tlp.service sudo systemctl enable tlp.service
sudo systemctl mask systemd-rfkill.service sudo systemctl mask systemd-rfkill.service
@ -328,7 +296,6 @@ then
wget -q --show-progress https://git.kennel.ml/Anri/confOS/raw/branch/main/.mozilla/firefox/user.js -P "$HOME"/.mozilla/firefox/*.default-release wget -q --show-progress https://git.kennel.ml/Anri/confOS/raw/branch/main/.mozilla/firefox/user.js -P "$HOME"/.mozilla/firefox/*.default-release
# === Manual color == # === Manual color ==
#fish -c "set -ge MANPAGER"
fish -c "set -Ux MANPAGER \"sh -c 'col -bx | bat -l man -p'\"" fish -c "set -Ux MANPAGER \"sh -c 'col -bx | bat -l man -p'\""
echo -e "\nInstallation terminée.\nIl faut redémarrer l'ordinateur.\nPensez à activer les extensions après redémarrage." echo -e "\nInstallation terminée.\nIl faut redémarrer l'ordinateur.\nPensez à activer les extensions après redémarrage."