summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2019-02-06 10:34:56 +0100
committerHans de Goede <hdegoede@redhat.com>2019-02-23 14:56:54 +0100
commit9bfffa925776a74701f509df74ac955f2910c963 (patch)
treeb88705bc1fb25c5e3c73ff8b54270a41793f62b8 /themes
parent3854d0052ffdd308025a9822387f24c9c37fc1ef (diff)
two-step: Add per mode settings
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: https://wiki.gnome.org/Design/OS/BootProgress 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. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'themes')
-rw-r--r--themes/bgrt/bgrt.plymouth.in10
1 files changed, 9 insertions, 1 deletions
diff --git a/themes/bgrt/bgrt.plymouth.in b/themes/bgrt/bgrt.plymouth.in
index 3cabbcae..e93f91c9 100644
--- a/themes/bgrt/bgrt.plymouth.in
+++ b/themes/bgrt/bgrt.plymouth.in
@@ -13,5 +13,13 @@ Transition=none
TransitionDuration=0.0
BackgroundStartColor=0x202020
BackgroundEndColor=0x202020
-UseFirmwareBackground=true
DialogClearsFirmwareBackground=true
+
+[boot-up]
+UseFirmwareBackground=true
+
+[shutdown]
+UseFirmwareBackground=true
+
+[updates]
+UseFirmwareBackground=true