re-add icon changes

This commit is contained in:
Mylloon 2022-06-04 03:34:01 +02:00
parent 23524f9ef8
commit 997af4e29b
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

12
arch.sh
View file

@ -143,9 +143,9 @@ then
cd ..
rm -rf spotify-adblock
# Change shortcut
# if [ -f /usr/share/applications/spotify.desktop ] ; then
# sudo sed -i "7s#.*#Exec=env LD_PRELOAD=/usr/local/lib/spotify-adblock.so spotify %U#" /usr/share/applications/spotify.desktop
# fi
if [ -f /usr/share/applications/spotify.desktop ] ; then
sudo sed -i "7s#.*#Exec=env LD_PRELOAD=/usr/local/lib/spotify-adblock.so spotify %U#" /usr/share/applications/spotify.desktop
fi
# Remove banner
cd "$(dirname "$(realpath -L "$(which spotify)")")"/Apps/ || exit # absolute path to Spotify
sudo bash -c "unzip -p xpui.spa xpui.js | sed 's/{adsEnabled:\!0}/{adsEnabled:false}/' > xpui.js"
@ -255,9 +255,9 @@ then
copyq config autostart true
# === Paint ==
# if [ -f /usr/share/applications/org.kde.kolourpaint.desktop ] ; then
# sudo sed -i "3s#.*#Name=Paint#" /usr/share/applications/org.kde.kolourpaint.desktop
# fi
if [ -f /usr/share/applications/org.kde.kolourpaint.desktop ] ; then
sudo sed -i "3s#.*#Name=Paint#" /usr/share/applications/org.kde.kolourpaint.desktop
fi
# === Emojis ==
sudo echo "<?xml version=\"1.0\"?>