#!/bin/bash # rich presence and track loading handler to a Wine installation of foobar2000 # declare variables enque=false #paths FOOBAR_HOME="$HOME/foobar on linux/foobar2000" #the folder the foobar2000 executable folder is located in # trigger wine discord IPC bridge script (optional) </dev/null & else nice -n -20 wine "$FOOBAR_HOME/foobar2000.exe" "${args[@]}" 2>/dev/null & fi