From e4e8b10722ea4776d00b44d4ca60ce4fff52ff84 Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Fri, 30 Jun 2023 15:47:33 -0700 Subject: [PATCH] feat: Automatically start Steam on desktop --- system_files/deck/usr/share/ublue-os/firstboot/yafti.yml | 5 +++++ system_files/desktop/usr/share/ublue-os/firstboot/yafti.yml | 1 + 2 files changed, 6 insertions(+) diff --git a/system_files/deck/usr/share/ublue-os/firstboot/yafti.yml b/system_files/deck/usr/share/ublue-os/firstboot/yafti.yml index e6d4cc5d..13f3bdfd 100644 --- a/system_files/deck/usr/share/ublue-os/firstboot/yafti.yml +++ b/system_files/deck/usr/share/ublue-os/firstboot/yafti.yml @@ -143,6 +143,11 @@ screens: default: true packages: - Enable Duperemove: systemctl enable --now duperemove-weekly@$(systemd-escape $HOME).timer + Autostart Steam: + description: Launches Steam automatically on the desktop + default: true + packages: + - Enable Autostart: cp ~/usr/share/applications/steam.desktop ~/.config/autostart/steam-silent.desktop && sed -i 's@/usr/bin/steam-runtime %U@/usr/bin/steam-runtime -silent %U@g' ~/.config/autostart/steam-silent.desktop Decky Loader: description: A plugin loader for the Steam Deck default: false diff --git a/system_files/desktop/usr/share/ublue-os/firstboot/yafti.yml b/system_files/desktop/usr/share/ublue-os/firstboot/yafti.yml index 08a6109c..40c2979a 100644 --- a/system_files/desktop/usr/share/ublue-os/firstboot/yafti.yml +++ b/system_files/desktop/usr/share/ublue-os/firstboot/yafti.yml @@ -148,6 +148,7 @@ screens: - Export Steam: distrobox-enter -n bazzite-arch -- ' distrobox-export --app steam' - Export Lutris: distrobox-enter -n bazzite-arch -- ' distrobox-export --app lutris' - Export Protontricks: distrobox-enter -n bazzite-arch -- ' distrobox-export --app protontricks' + - Autostart Steam: cp ~/.local/share/applications/bazzite-arch-steam.desktop ~/.config/autostart/bazzite-arch-steam-silent.desktop && sed -i 's@/usr/bin/steam-runtime %U@/usr/bin/steam-runtime -silent %U@g' ~/.config/autostart/bazzite-arch-steam-silent.desktop Automatic Duplicate File Removal: description: Flattens duplicate files to take up no more space than a single copy, a considerable space savings for wine prefixes and compatdata default: true