add native steams

This commit is contained in:
Aminda Suomalainen 2026-03-24 13:08:57 +02:00
parent 99119dc93d
commit 95ee64a2be
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723
5 changed files with 21 additions and 1 deletions

View File

@ -0,0 +1,6 @@
[Desktop Entry]
Name=SteamDeck TV
Exec=systemd-inhibit --what shutdown --who steam gamemoderun steam -tenfoot -steamdeck
Icon=com.valvesoftware.Steam
Type=Application
Hidden=false

View File

@ -0,0 +1,6 @@
[Desktop Entry]
Name=SteamDeck icon
Exec=systemd-inhibit --what shutdown --who steam steam -silent -steamdeck
Icon=com.valvesoftware.Steam
Type=Application
Hidden=false

View File

@ -194,9 +194,14 @@ if [ "$(id -u)" == "0" ]; then
cp -v local/share/applications/{a-chromium,chromium-{apps,youtube-music,yle-areena,discord,gmail,gmessages,google-calendar,telegram,twitch,whatsapp,mtv-katsomo,radioplayer,ruutu}}.desktop /usr/local/share/applications/
fi
# If Steam is installed, chances are these work
if [ -f /var/lib/flatpak/exports/bin/com.valvesoftware.Steam ]; then
if [ -f /usr/share/steam ]; then
cp -v local/share/applications/{steam-bigpicture,steam-tray}.desktop /usr/local/share/applications/
elif [ -f /var/lib/flatpak/exports/bin/com.valvesoftware.Steam ]; then
cp -v local/share/applications/{a-steam,com.valvesoftware.Steam,flatpak-steam-bigpicture,flatpak-steam-tray,com.heroicgameslauncher.hgl}.desktop /usr/local/share/applications/
fi
if [ -f /var/lib/flatpak/exports/bin/com.heroicgameslauncher.hgl ]; then
cp -v local/share/applications/com.heroicgameslauncher.hgl.desktop /usr/local/share/applications/
fi
if [ -f /var/lib/flatpak/exports/bin/org.briarproject.Briar ]; then
cp -v local/share/applications/briar.desktop /usr/local/share/applications/
fi
@ -545,6 +550,7 @@ else
ln -nsfv /etc/xdg/autostart/foot*.desktop $DESKTOP/
ln -nsfv /usr/local/share/applications/foot-ncdu.desktop $DESKTOP/
ln -nsfv /usr/local/share/applications/steam-bigpicture.desktop $DESKTOP/
ln -nsfv /usr/local/share/applications/flatpak-steam-bigpicture.desktop $DESKTOP/
ln -nsfv /usr/local/share/applications/a-steam.desktop $DESKTOP/
ln -nsfv /usr/local/share/applications/com.heroicgameslauncher.hgl.desktop $DESKTOP/

View File

@ -0,0 +1 @@
../../../etc/xdg/autostart/steam-bigpicture.desktop

View File

@ -0,0 +1 @@
../../../etc/xdg/autostart/steam-tray.desktop