two-step: Add per mode settings

System Internals / Plymouth - Hans de Goede [] - 23 February 2019 13:56 EST

We want theme files to be able to specify different settings for different modes ("boot-up" / "shutdown" / "updates"). Specifically we want themes to be able to specify a text for (offline) updates mode to tell the user what is going on, see the mockups at:

This commit adds support for per mode settings to the two-step plugins and for starters moves the UseFirmwareBackground setting there, since we don't want to show the firmware-background when showing the help-text.

Follow-up commits will add support for specifying the (optional) per mode text to show, note eventually we will need to make these texts translatable.

9bfffa9 two-step: Add per mode settings
src/libply-splash-core/ply-boot-splash-plugin.h | 3 +-
src/plugins/splash/two-step/plugin.c | 45 ++++++++++++++++++++++++-
themes/bgrt/ | 10 +++++-
3 files changed, 55 insertions(+), 3 deletions(-)


  • Share