Fixed script again
This commit is contained in:
parent
12c8a7e49a
commit
17517d1b46
15
install.sh
15
install.sh
|
@ -26,19 +26,12 @@ if [[ -f /etc/os-release ]]; then
|
||||||
fi
|
fi
|
||||||
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
|
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]
|
echo "[Desktop Entry]
|
||||||
Name=Discord Awesome Audio
|
Name=Discord Awesome Audio
|
||||||
Exec=flatpak run lol.deadzone.discord-awesomeaudio
|
Exec=flatpak run lol.deadzone.discord-awesomeaudio
|
||||||
|
|
Loading…
Reference in New Issue