diff --git a/arch.sh b/arch.sh index 685c734..d5c00b8 100644 --- a/arch.sh +++ b/arch.sh @@ -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 "