diff options
author | Phil Jones <philj56@gmail.com> | 2021-11-03 01:22:20 +0000 |
---|---|---|
committer | Phil Jones <philj56@gmail.com> | 2021-11-03 01:22:20 +0000 |
commit | fb0e358feccc45c7cd642e346d07f4f7f21b484b (patch) | |
tree | ecac26391504b5b9e1e24978877fc446cd6e7c27 /doc/greetd-mini-wl-greeter.1.scd | |
parent | c7eaec357376533a77195d355cc4711d46177121 (diff) |
Don't use Pango by default.
Initialising Pango makes up a large portion of the startup time, and we
can achieve neater rendering with pure Cairo if we're just drawing
circles anyway. Therefore, this commit avoids loading Pango if no
options which require it are specified (such as --font-name or
--password-character). This reduces startup time with no background
image to ~40ms on my machine (2015 MacBook Pro).
Diffstat (limited to 'doc/greetd-mini-wl-greeter.1.scd')
-rw-r--r-- | doc/greetd-mini-wl-greeter.1.scd | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/greetd-mini-wl-greeter.1.scd b/doc/greetd-mini-wl-greeter.1.scd index 7beab36..988c2db 100644 --- a/doc/greetd-mini-wl-greeter.1.scd +++ b/doc/greetd-mini-wl-greeter.1.scd @@ -6,7 +6,7 @@ greetd-mini-wl-greeter - An extremely simple raw Wayland greeter for greetd # SYNOPSIS -*greetd-mini-wl-greeter* -u user -c command [options] +*greetd-mini-wl-greeter* -u user -c command [-bBCeEfFhHnoOrRw] # DESCRIPTION @@ -73,6 +73,11 @@ All options which take a color expect a 3- or 6-digit hex code, e.g. F9A733. # EXAMPLES +greetd-mini-wl-greeter aims to be as fast and simple as possible by default. If +none of the *-f*, *-C* or *-w* options are given, a simple circle will be used +for the password character, avoiding the need to use Pango, thus lowering +startup time. This is only likely noticeable on very slow machines however. + When using sway as the compositor for greetd-mini-greeter, something like the following sway config lines produce a nice look: |