chore(yafti): Give Bazzite Arch its own screen

This is a big feature of Bazzite, and might as well have its own screen
This commit is contained in:
RJ Trujillo 2023-08-04 08:42:20 -06:00
parent 1ef688a3f4
commit f3c40c414d

View File

@ -9,6 +9,37 @@ screens:
icon: "/usr/share/ublue-os/bazzite/logo.svg"
description: |
Configure your system to get started
configure-bazzite-arch:
source: yafti.screen.package
values:
title: Configure Bazzite Arch
condition:
run: grep -v "bazzite-arch" <<< $(distrobox list)
show_terminal: true
package_manager: yafti.plugin.run
groups:
Install Bazzite Arch:
description: This will install an Arch distrobox configured for gaming
default: true
packages:
- Install Bazzite Arch: just --unstable install-bazzite-arch
Export Launchers:
description: This exports Steam and Lutris
default: true
packages:
- Export Steam: distrobox-enter -n bazzite-arch -- ' distrobox-export --app steam'
- Export Lutris: distrobox-enter -n bazzite-arch -- ' distrobox-export --app lutris'
Export Utilities:
description: This exports SteamCMD and protontricks
default: true
packages:
- Export SteamCMD: just --unstable export-steamcmd
- Export Protontricks: distrobox-enter -n bazzite-arch -- ' distrobox-export --app protontricks'
Autostart Steam:
description: Starts Steam after logging in
default: true
packages:
- 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
configure-bazzite:
source: yafti.screen.package
values:
@ -16,18 +47,6 @@ screens:
show_terminal: true
package_manager: yafti.plugin.run
groups:
Bazzite Arch Distrobox:
description: This will install an Arch distrobox configured for gaming. Steam and Lutris will then be exported.
default: true
condition:
run: distrobox list | grep -v bazzite-arch
packages:
- Install Bazzite Arch: just --unstable install-bazzite-arch
- Export Steam: distrobox-enter -n bazzite-arch -- ' distrobox-export --app steam'
- Export SteamCMD: just --unstable export-steamcmd
- 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