two-step: Add MessageBelowAnimation option

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

So far we've always printed messages coming from "plymouth display-message" in the top left corner. In some cases the theme may want to instead display the messages below the animation (where they are more prominently visible).

My first attempt to support this added MessageHorizontal/VerticalAlignment options. That did not work since we want a more or less fixed distance between the animation bottom and the message and with screen-heights varying from 480 to 1200 that is not possible using alignment options to place both the animation and the message.

Note the default is unchanged and still is the top left corner.

c5d7b61 two-step: Add MessageBelowAnimation option
src/plugins/splash/two-step/plugin.c | 46 ++++++++++++++++++++++++++----------
1 file changed, 33 insertions(+), 13 deletions(-)

Upstream: cgit.freedesktop.org


  • Share