diff options
author | Phil Jones <philj56@gmail.com> | 2021-11-01 11:23:43 +0000 |
---|---|---|
committer | Phil Jones <philj56@gmail.com> | 2021-11-01 11:40:28 +0000 |
commit | 8fc10eae44b388bee9e5bfdbc0a59c6c7d69ddd8 (patch) | |
tree | 13c9b0b4db1110a1ed39e3c7d4fc8ea5b99faca8 /doc/greetd-mini-wl-greeter.1.scd | |
parent | c47510041f7909c697bc71e0efbc03e3759ca49a (diff) |
Add manpage and usage help.
Diffstat (limited to 'doc/greetd-mini-wl-greeter.1.scd')
-rw-r--r-- | doc/greetd-mini-wl-greeter.1.scd | 95 |
1 files changed, 95 insertions, 0 deletions
diff --git a/doc/greetd-mini-wl-greeter.1.scd b/doc/greetd-mini-wl-greeter.1.scd new file mode 100644 index 0000000..b0718f1 --- /dev/null +++ b/doc/greetd-mini-wl-greeter.1.scd @@ -0,0 +1,95 @@ +greetd-mini-wl-greeter(1) + +# NAME + +greetd-mini-wl-greeter - An extremely simple raw Wayland greeter for greetd + +# SYNOPSIS + +*greetd-mini-wl-greeter* -u user -c command [options] + +# DESCRIPTION + +greetd-mini-wl-greeter is a raw Wayland greeter for greetd, designed for a +single user. It requires a Wayland compositor to run, such as *cage*(1) or +*sway*(1). + +# OPTIONS + +All options which take a color expect a 3- or 6-digit hex code, e.g. F9A733. + +*-u, --user* <username> + The user to login as. + +*-c, --command* <command> + The command to run on login. + +*-b, --background_image* <image> + An image to use as the background. Currently only PNG images are supported. + +*-B, --background_color* <color> + Color of the background in the absence of an image. + +*-o, --outline_width* <value> + Width of the outlines around the border, in pixels. + +*-O, --outline_color* <color> + Color of the outlines around the border. + +*-r, --border_width* <value> + Width of the border in pixels. + +*-R, --border_color* <color> + Color of the border. + +*-e, --entry_padding* <value> + Padding around the password text in pixels. + +*-E, --entry_color* <color> + Color of the password entry box. + +*-f, --font_name* <name> + Font to use for the password entry. + +*-F, --font_size* <value> + Point size of the password text. + +*-C, --password_character* <character> + Character to use to hide the password. Defaults to '·'. + +*-n, --width_characters* <value> + Make the password entry box big enough to fit this many characters. + +*-w, --wide_layout* + By default, the password entry box will be shrunk vertically to exactly fit + the specified password character. Use this option if you'd rather that it got + laid out like normal text, i.e. the box remains one full character tall. + +# EXAMPLES + +When using sway as the compositor for greetd-mini-greeter, something like the +following sway config lines produce a nice look: + +``` +# Remove any window borders +default_border none +hide_edge_borders both + +# Add a background image, to avoid a flicker of default background color +output * background /path/to/image fill + +# Use the same background image for the greeter +exec greetd-mini-wl-greeter -u username -c command -b /path/to/image +``` + +Fun can be had with the *-C* option, as it should support any character from +your locale, which is probably a UTF-8 one. For example, the Unicode "Combining +Dot Below" character ( ̣) produces a nice effect. + +# AUTHORS + +Philip Jones <philj56@gmail.com> + +# SEE ALSO + +*greetd*(1) |