From 7dab0aac683f620e7214575047162aea90acc113 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Wed, 3 May 2023 19:17:35 +0200 Subject: [PATCH] Midi files --- arch.sh | 8 ++++++++ archinstall/user_configuration.json | 5 ++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/arch.sh b/arch.sh index 0228720..f9cb8d9 100644 --- a/arch.sh +++ b/arch.sh @@ -387,6 +387,14 @@ main() { updated_config_discord="$(< "$path_config_discord" jq '. + { "SKIP_HOST_UPDATE": true }')" echo "$updated_config_discord" > "$path_config_discord" + # === Midi files == + sudo gpasswd -a "$USER" audio + { + echo "soundfont /usr/share/soundfonts/freepats-general-midi.sf2" + echo "soundfont /usr/share/soundfonts/FluidR3_GS.sf22" + echo "soundfont /usr/share/soundfonts/FluidR3_GM.sf22" + } | sudo tee -a /etc/timidity/timidity.cfg > /dev/null + echo -e "\nInstallation terminée.\nIl faut redémarrer l'ordinateur." } diff --git a/archinstall/user_configuration.json b/archinstall/user_configuration.json index 43f54b4..1bd636a 100644 --- a/archinstall/user_configuration.json +++ b/archinstall/user_configuration.json @@ -117,7 +117,10 @@ "otf-fira-sans", "ttf-fira-code", "otf-fira-mono", - "otf-font-awesome" + "otf-font-awesome", + "timidity++", + "freepats-general-midi", + "soundfont-fluid" ], "plugin": null, "profile": {