MIDI files on WSL too

This commit is contained in:
Mylloon 2023-05-03 19:21:26 +02:00
parent 7dab0aac68
commit acede66ecc
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 10 additions and 3 deletions

View file

@ -387,8 +387,7 @@ main() {
updated_config_discord="$(< "$path_config_discord" jq '. + { "SKIP_HOST_UPDATE": true }')" updated_config_discord="$(< "$path_config_discord" jq '. + { "SKIP_HOST_UPDATE": true }')"
echo "$updated_config_discord" > "$path_config_discord" echo "$updated_config_discord" > "$path_config_discord"
# === Midi files == # === MIDI files ==
sudo gpasswd -a "$USER" audio
{ {
echo "soundfont /usr/share/soundfonts/freepats-general-midi.sf2" echo "soundfont /usr/share/soundfonts/freepats-general-midi.sf2"
echo "soundfont /usr/share/soundfonts/FluidR3_GS.sf22" echo "soundfont /usr/share/soundfonts/FluidR3_GS.sf22"

View file

@ -33,7 +33,8 @@ main() {
uwufetch python-pip opam cpanminus unison \ uwufetch python-pip opam cpanminus unison \
rebuild-detector git-delta sdl2_ttf rustup pulseaudio-alsa \ rebuild-detector git-delta sdl2_ttf rustup pulseaudio-alsa \
rsync doxygen emacs-nox otf-fira-sans ttf-fira-code \ rsync doxygen emacs-nox otf-fira-sans ttf-fira-code \
otf-fira-mono mingw-w64-gcc topgrade-bin otf-font-awesome otf-fira-mono mingw-w64-gcc topgrade-bin otf-font-awesome \
timidity++ freepats-general-midi soundfont-fluid
# === Rustup == # === Rustup ==
# Init rustup # Init rustup
@ -205,6 +206,13 @@ main() {
# === Bash VSCode fix == # === Bash VSCode fix ==
curl -s https://git.mylloon.fr/Anri/confOS/raw/branch/main/dotfiles/.bashrc >> "$HOME"/.bashrc curl -s https://git.mylloon.fr/Anri/confOS/raw/branch/main/dotfiles/.bashrc >> "$HOME"/.bashrc
# === MIDI files ==
{
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
# === Clear useless packages # === Clear useless packages
pacman -Qqtd | sudo pacman --noconfirm -Rsn subsystemctl - 2> /dev/null || true pacman -Qqtd | sudo pacman --noconfirm -Rsn subsystemctl - 2> /dev/null || true