-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: support for multiple package screens in one config (#139)
- Loading branch information
1 parent
36b12a0
commit c9db948
Showing
10 changed files
with
135 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
title: uBlue First Boot | ||
properties: | ||
mode: "run-on-change" | ||
actions: | ||
pre: | ||
- run: /full/path/to/bin --with --params | ||
- run: /another/command run | ||
- yafti.plugin.flatpak: | ||
install: org.gnome.Calculator | ||
post: | ||
- run: /run/these/commands --after --all --screens | ||
screens: | ||
first-screen: | ||
source: yafti.screen.title | ||
values: | ||
title: "That was pretty cool" | ||
icon: "/path/to/icon" | ||
description: | | ||
Time to play overwatch | ||
can-we-modify-your-flatpaks: | ||
source: yafti.screen.consent | ||
values: | ||
title: Welcome traveler | ||
condition: | ||
run: flatpak remotes --system | grep fedora | ||
description: | | ||
This tool modifies your flatpaks and flatpak sources. If you do not want to do this exit the installer. | ||
For new users just do it (tm) | ||
actions: | ||
- run: flatpak remote-delete fedora --force | ||
- run: flatpak remove --system --noninteractive --all | ||
applications: | ||
source: yafti.screen.package | ||
values: | ||
title: Install flatpaks | ||
show_terminal: true | ||
package_manager: yafti.plugin.flatpak | ||
groups: | ||
Core: | ||
description: All the good stuff | ||
packages: | ||
- Calculator: org.gnome.Calculator | ||
- Firefox: org.mozilla.firefox | ||
Gaming: | ||
description: GAMES GAMES GAMES | ||
default: false | ||
packages: | ||
- Steam: com.valvesoftware.Steam | ||
- Games: org.gnome.Games | ||
applications-two: | ||
source: yafti.screen.package | ||
values: | ||
title: Install more flatpaks | ||
show_terminal: true | ||
package_manager: yafti.plugin.flatpak | ||
groups: | ||
Office: | ||
description: All the work stuff | ||
default: false | ||
packages: | ||
- LibreOffice: org.libreoffice.LibreOffice | ||
- Calendar: org.gnome.Calendar | ||
final-screen: | ||
source: yafti.screen.title | ||
values: | ||
title: "All done" | ||
icon: "/atph/to/icon" | ||
description: | | ||
Thanks for installing, join the community, next steps |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.