chore(gnome): Simplify sed for steam in bazzite-user-setup

This commit is contained in:
Kyle Gospodnetich 2023-08-09 21:56:55 -07:00
parent 0de6a94185
commit 90710a53d3

View File

@ -13,7 +13,7 @@ if [[ $BASE_IMAGE_NAME =~ "kinoite" ]]; then
echo 'Creating Desktop shortcuts'
cp /usr/share/applications/steam.desktop ~/Desktop/steam.desktop
sed -i 's@Steam (Runtime)@Steam@g' ~/Desktop/steam.desktop
sed -i 's@/usr/bin/steam-runtime %U@/usr/bin/bazzite-steam-runtime %U@g' ~/Desktop/steam.desktop
sed -i 's@/usr/bin/steam-runtime@/usr/bin/bazzite-steam-runtime@g' ~/Desktop/steam.desktop
cp /etc/skel.d/Desktop/Return.desktop ~/Desktop/Return.desktop
cp /usr/share/applications/lutris.desktop ~/Desktop/lutris.desktop
cp /usr/share/applications/yafti.desktop ~/Desktop/yafti.desktop