Scroll to navigation

WAYPROMPT(5) File Formats Manual WAYPROMPT(5)

NAME

config.ini - configuration file for wayprompt

DESCRIPTION

This manual page describes the configuration file used by all versions of wayprompt.

wayprompt uses the INI file format for configuration, meaning variable-value-assignments sorted into sections.

[section]
# This is a comment
variable = value;

On wayprompt will look for a file in the following locations, in this order:

  • $XDG_CONFIG_HOME/wayprompt/config.ini (or $HOME/.config/wayprompt/config.ini should $XDG_CONFIG_HOME be unset)
  • /etc/wayprompt/config.ini

SECTION: [general]

font-regular = <font description>;

Font used for description, buttons and error message. Defaults to "sans:size=14".

font-large = <font description>;

Font used for title. Defaults to "sans:size=20".

button-inner-padding = <positive integer>;

Padding around the labels of the buttons. Defaults to 5.

vertical-padding = <positive integer>;

Top and bottom padding of the dialog prompt window. Defaults to 10.

horizontal-padding = <positive integer>;

Left and right padding of the dialog prompt window. Defaults to 15.

pin-square-size = <positive integer>;

Size of of the squares in the pin area, which represent the typed characters of the secret. Defaults to 18.

pin-square-amount = <positive integer>;

Amount of the squares in the pin area. Defaults to 16.

border = <positive integer>;

Width of the border of the dialog prompt window. Defaults to 2.

pin-square-border = <positive integer>;

Width of the border around the squares in the pin area. Defaults to 1.

button-border = <positive integer>;

Width of the border around the buttons. Defaults to 1.

corner-radius = <positive integer>;

The radius of the corners of the dialog prompt window. Set to 0 to disable round corners. Defaults to 10.

SECTION: [colours]

background = <colour>;

Background colour of the dialog prompt window. Defaults to 0xFFFFFF.

border = <colour>;

Border colour of the dialog prompt window. Defaults to 0x000000.

text = <colour>;

Colour of the title, description and prompt texts. Defaults to 0x000000.

error-text = <colour>;

Colour if the error text. Defaults to 0xE0002B.

pin-background = <colour>;

Colour of the pin area. Defaults to 0xD0D0D0.

pin-border = <colour>;

Colour of the pin area border and the pin square borders. Defaults to 0x000000.

pin-square = <colour>;

Colour of the pin squares. Defaults to 0x808080.

ok-button = <colour>;

Background colour of the ok button. Defaults to 0xD5F200.

ok-button-border = <colour>;

Border colour of the ok button. Defaults to 0x000000.

ok-button-text = <colour>;

Text colour of the ok button. Defaults to 0x000000.

not-ok-button = <colour>;

Background colour of the not ok button. Defaults to 0xFFE53E.

not-ok-button-border = <colour>;

Border colour of the not ok button. Defaults to 0x000000.

not-ok-button-text = <colour>;

Text colour of the not ok button. Defaults to 0x000000.

cancel-button = <colour>;

Background colour of the cancel button. Defaults to 0xFF4647.

cancel-button-border = <colour>;

Border colour of thcancel ok button. Defaults to 0x000000.

cancel-button-text = <colour>;

Text colour of the cancel button. Defaults to 0x000000.

AUTHOR

Leon Henrik Plickat

SEE ALSO

wayprompt(1), pinentry-wayprompt(1)

2023-06-03 git.sr.ht/~leon_plickat/wayprompt