-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathyafti.yml
executable file
·262 lines (259 loc) · 12.9 KB
/
yafti.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
title: Welcome to uBlue
properties:
mode: "run-on-change"
screens:
first-screen:
source: yafti.screen.title
values:
title: "Welcome to uBlue (Alpha)"
icon: "/path/to/icon"
description: |
This guided installer will help you get started with your new system.
can-we-modify-your-flatpaks:
source: yafti.screen.consent
values:
title: Welcome, Traveler!
condition:
run: flatpak remotes --columns=name | grep fedora
description: |
We have detected the limited, Fedora-provided Flatpak remote on your system, whose applications are usually missing important codecs and other features. This step will therefore remove all basic Fedora Flatpaks from your system! We will instead switch all core Flatpak applications over to the vastly superior, unfiltered Flathub. If you don't want to do this, simply exit this installer.
actions:
- run: flatpak remote-delete --system --force fedora
- run: flatpak remote-delete --user --force fedora
- run: flatpak remove --system --noninteractive --all
# - run: flatpak remote-add --if-not-exists --system flathub https://flathub.org/repo/flathub.flatpakrepo
- run: flatpak remote-add --if-not-exists --user flathub https://flathub.org/repo/flathub.flatpakrepo
# check-system-flathub:
# source: yafti.screen.consent
# values:
# title: Missing Flathub Repository (System)
# condition:
# run: flatpak remotes --system --columns=name | grep flathub | wc -l | grep '^0$'
# description: |
# We have detected that you don't have Flathub's repository on your system. We will now add that repository to your system-wide list.
# actions:
# - run: flatpak remote-add --if-not-exists --system flathub https://flathub.org/repo/flathub.flatpakrepo
check-user-flathub:
source: yafti.screen.consent
values:
title: Missing Flathub Repository (User)
condition:
run: flatpak remotes --user --columns=name | grep flathub | wc -l | grep '^0$'
description: |
We have detected that you don't have Flathub's repository on your current user account. We will now add that repository to your account.
actions:
- run: flatpak remote-add --if-not-exists --user flathub https://flathub.org/repo/flathub.flatpakrepo
add-moe-launcher-repo:
source: yafti.screen.consent
values:
title: Add an-anime-game-team moe.launcher flatpak remote (User)
condition:
run: flatpak remotes --user --columns=name | grep launcher.moe | wc -l | grep '^0$'
description: |
You may also add an-anime-game-team's moe.launcher flatpak remote (user) to add Hoyoverse and other games launcher.
actions:
- run: flatpak remote-add --if-not-exists --user flathub https://flathub.org/repo/flathub.flatpakrepo && flatpak remote-add --if-not-exists --user launcher.moe https://gol.launcher.moe/gol.launcher.moe.flatpakrepo
applications:
source: yafti.screen.package
values:
title: Application Installer
show_terminal: true
package_manager: yafti.plugin.flatpak
package_manager_defaults:
user: true
# system: false
groups:
# Core GNOME Apps:
# description: Core system applications for the GNOME desktop environment.
# default: false
# packages:
# - Calculator: org.gnome.Calculator
# - Calendar: org.gnome.Calendar
# - Characters: org.gnome.Characters
# - Cheese: org.gnome.Cheese
# - Clocks: org.gnome.clocks
# - Connections: org.gnome.Connections
# - Contacts: org.gnome.Contacts
# - Disk Usage Analyzer: org.gnome.baobab
# - Document Scanner: org.gnome.SimpleScan
# - Document Viewer: org.gnome.Evince
# - Extension Manager: com.mattjakeman.ExtensionManager
# - Font Viewer: org.gnome.font-viewer
# - Image Viewer: org.gnome.eog
# - Logs: org.gnome.Logs
# - Maps: org.gnome.Maps
# - Photos (Organizer): org.gnome.Photos
# - Sushi (Nautilus Previewer): org.gnome.NautilusPreviewer
# - Text Editor: org.gnome.TextEditor
# - Videos (Player): org.gnome.Totem
# - Weather: org.gnome.Weather
System Apps:
description: System applications for all desktop environments.
default: true
packages:
- Deja Dup Backups: org.gnome.DejaDup
- Fedora Media Writer: org.fedoraproject.MediaWriter
- Flatseal (Permission Manager): com.github.tchx84.Flatseal
- Font Downloader: org.gustavoperedo.FontDownloader
- Mozilla Firefox: org.mozilla.firefox
- Nyrna (Suspend Apps / Games): codes.merritt.Nyrna
Web Browsers:
description: Additional browsers to complement or replace Firefox.
default: false
packages:
- Brave: com.brave.Browser
- Google Chrome: com.google.Chrome
- Microsoft Edge: com.microsoft.Edge
- Microsoft Edge Dev: com.microsoft.EdgeDev
- Opera: com.opera.Opera
- Tor Browser Launcher: com.github.micahflee.torbrowser-launcher
- Wavebox: io.wavebox.Wavebox
Gaming:
description: "Rock and Stone!"
default: false
packages:
- Bottles: com.usebottles.bottles
- Heroic Games Launcher: com.heroicgameslauncher.hgl
- Discord: com.discordapp.Discord
- Discord-screenaudio (Audio Share Workaround): de.shorsh.discord-screenaudio
- Discover (Discord Overlay): io.github.trigg.discover_overlay
- Steam: com.valvesoftware.Steam
- Gamescope (Utility): com.valvesoftware.Steam.Utility.gamescope
- MangoHUD (Utility): org.freedesktop.Platform.VulkanLayer.MangoHud//22.08
- SteamTinkerLaunch (Utility): com.valvesoftware.Steam.Utility.steamtinkerlaunch
- Proton Updater for Steam: net.davidotek.pupgui2
- SteamGridDB SGDBoop: com.steamgriddb.SGDBoop
Emulators:
description: Common Emulators.
default: false
packages:
- RetroArch (All-in-One Emulator): org.libretro.RetroArch
- DuckStation (PSOne): org.duckstation.DuckStation
- PCSX2 (PS2): net.pcsx2.PCSX2
- RPCS3 (PS3): net.rpcs3.RPCS3
- PPSSPP (PSP): org.ppsspp.PPSSPP
- melonDS (NDS): net.kuribo64.melonDS
- DeSmuME (NDS): org.desmume.DeSmuME
- Citra (3DS): org.citra_emu.citra
- yuzu (Switch): org.yuzu_emu.yuzu
- ryujinx (Switch): org.ryujinx.Ryujinx
- xemu (Xbox): app.xemu.xemu
Media:
description: Apps for Managing Media.
default: false
packages:
- VLC (Media Player): org.videolan.VLC
- SMPlayer (Media Player like MPC-HC): info.smplayer.SMPlayer
- LosslessCut (Trim Audio / Video): no.mifi.losslesscut
- HandBrake (Video Transcoder): fr.handbrake.ghb
- SoundConverter (Simple Audio Convert): org.soundconverter.SoundConverter
- FFaudioConverter (Batch audio converter): com.github.Bleuzen.FFaudioConverter
- Kid3 (KDE Audio Metadata Editor): org.kde.kid3
- NTag (audio file tag editor): com.github.nrittsti.NTag
- Audio Sharing (RTSP Audio Share): de.haeckerfelix.AudioSharing
- Converter (Image Resizer / Converter): io.gitlab.adhami3310.Converter
- Converseen (Batch Image Converter): net.fasterland.converseen
- Curtail (Image Compressor): com.github.huluti.Curtail
- NormCap (Screen-capture OCR): com.github.dynobo.normcap
Office:
description: Boost your productivity.
default: false
packages:
- LibreOffice: org.libreoffice.LibreOffice
- OnlyOffice: org.onlyoffice.desktopeditors
- Obsidian: md.obsidian.Obsidian
- Slack: com.slack.Slack
- Standard Notes: org.standardnotes.standardnotes
- Thunderbird Email: org.mozilla.Thunderbird
Streaming:
description: Stream to the Internet.
default: false
packages:
- OBS Studio: com.obsproject.Studio
- VkCapture for OBS: com.obsproject.Studio.OBSVkCapture
- Gstreamer for OBS: com.obsproject.Studio.Plugin.Gstreamer
- Gstreamer VAAPI for OBS: com.obsproject.Studio.Plugin.GStreamerVaapi
- Boatswain for Streamdeck: com.feaneron.Boatswain
Anime Game Launchers:
description: Hoyoverse and other game launchers.
default: false
packages:
- Genshin Impact: moe.launcher.an-anime-game-launcher
- Honkai Impact 3rd: moe.launcher.honkers-launcher
- Honkai Star Rail: moe.launcher.the-honkers-railway-launcher
- Punishing Gray Raven: moe.launcher.an-anime-borb-launcher
My Apps:
description: Feng Lengshun Default Apps
default: true
packages:
- Flatseal (Manage Flatpak Permissions): com.github.tchx84.Flatseal
- SGDBoop (Arts for Added Non-Steam Games): com.steamgriddb.SGDBoop
- Strmio (Netlix-like UI for torrents): com.stremio.Stremio
- Bottles (GUI for Wine): com.usebottles.bottles
- WPS Office (Best compatibility for MS Office): com.wps.Office
- SMPlayer (Media Player like MPC-HC): info.smplayer.SMPlayer
- Adwaita-for-Steam (Custom Steam Theme): io.github.Foldex.AdwSteamGtk
- Soundux (Soundboard and Mixer): io.github.Soundux
- YouTube Downlaoder Plus (ytDownloader): io.github.aandrew_me.ytdn
- Wavebox (Containerized Chromium Browser): io.wavebox.Wavebox
- Master PDF Editor (Basic PDF Editing): net.codeindustry.MasterPDFEditor
- Joplin (Markdown Editor with Sync): net.cozic.joplin_desktop
- Upscayl (Image Upscaler): org.upscayl.Upscayl
check-user-nix:
source: yafti.screen.consent
values:
title: Nix not installed
condition:
run: ls -a $HOME | grep nix | wc -l | grep '^0$'
description: |
We have detected that you don't have Nix installed. Nix is a next generation declarative and reproducible package manager that can be used to supplement your package source.
actions:
- run: curl -s https://raw.githubusercontent.com/dnkmmr69420/nix-installer-scripts/main/installer-scripts/silverblue-nix-installer.sh | bash
configure-bazzite:
source: yafti.screen.package
values:
title: Configure Bazzite
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: mkdir -p ~/Documents/container/arch && env SHELL=/bin/zsh distrobox create --image ghcr.io/ublue-os/bazzite-arch --name bazzite-arch --home ~/Documents/container/arch
- 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'
# - Enable Automatic Updates: systemctl enable --user --now distrobox-upgrade-automatic.timer
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: false
packages:
- Enable Duperemove: systemctl enable --now duperemove-weekly@$(systemd-escape $HOME).timer
Memory Tuning:
description: Adjust ZRAM configuration
default: false
packages:
- Disable ZRAM: just zram-off
final-screen:
source: yafti.screen.title
values:
title: "All done!"
icon: "/path/to/icon"
links:
- "Install More Applications":
run: /usr/bin/plasma-discover
- "Get fleek for better Nix package management":
run: /usr/bin/xdg-open https://getfleek.dev
- "Browse Nix packages":
run: /usr/bin/xdg-open https://search.nixos.org/packages?channel=unstable&from=0&size=50&sort=relevance&type=packages&query=
- "Browse An Anime Team's page":
run: /usr/bin/xdg-open https://github.com/an-anime-team/flatpak-builds
- "Universal Blue Website":
run: /usr/bin/xdg-open https://ublue.it
- "Join the ublue-os Discord Community":
run: /usr/bin/xdg-open https://discord.gg/XjG48C7VHx
description: |
Thanks for trying uBlue, we hope you enjoy it!