Fixed script again

This commit is contained in:
Wizzard 2023-07-11 21:41:38 -04:00
parent 12c8a7e49a
commit 17517d1b46
1 changed files with 4 additions and 11 deletions

View File

@ -26,19 +26,12 @@ if [[ -f /etc/os-release ]]; then
fi
fi
flatpak install flathub org.kde.Sdk//5.15-22.08
flatpak install flathub io.qt.qtwebengine.BaseApp//5.15-22.08
flatpak-builder build-dir lol.deadzone.discord-awesomeaudio.json --install --user --force-clean
echo '#!/bin/bash
RUNNING=$(pgrep -f "discord-screenaudio")
if [[ -n $RUNNING ]]; then
WM_CLASS="discord-screenaudio"
else
WM_CLASS=""
fi
#flatpak run --env=WM_CLASS="$WM_CLASS" lol.deadzone.discord-awesomeaudio' > ~/.local/bin/discord-awesomeaudio.sh
chmod +x ~/.local/bin/discord-awesomeaudio.sh
echo "[Desktop Entry]
Name=Discord Awesome Audio
Exec=flatpak run lol.deadzone.discord-awesomeaudio