mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2026-03-25 02:17:54 +01:00
add native steams
This commit is contained in:
parent
99119dc93d
commit
95ee64a2be
6
etc/xdg/autostart/steam-bigpicture.desktop
Normal file
6
etc/xdg/autostart/steam-bigpicture.desktop
Normal 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
|
||||
6
etc/xdg/autostart/steam-tray.desktop
Normal file
6
etc/xdg/autostart/steam-tray.desktop
Normal 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
|
||||
8
install
8
install
@ -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/
|
||||
|
||||
1
local/share/applications/steam-bigpicture.desktop
Symbolic link
1
local/share/applications/steam-bigpicture.desktop
Symbolic link
@ -0,0 +1 @@
|
||||
../../../etc/xdg/autostart/steam-bigpicture.desktop
|
||||
1
local/share/applications/steam-tray.desktop
Symbolic link
1
local/share/applications/steam-tray.desktop
Symbolic link
@ -0,0 +1 @@
|
||||
../../../etc/xdg/autostart/steam-tray.desktop
|
||||
Loading…
x
Reference in New Issue
Block a user