WAYPROMPT(5)

πŸ“¦ version 0.1.2, in nixos 26.05

🌸 WAYPROMPT(5) β€” the config file glow-up 🌸

okay bestie, so this is config.ini, the configuration file for wayprompt β€” and yes, it's the config file used by all versions of wayprompt, so no matter which one you're running, you're in the right place πŸ’–


✨ NAME ✨

config.ini β€” the configuration file for wayprompt πŸ’…

✨ DESCRIPTION ✨

So wayprompt reads its config using the INI file format, which is literally just variable-value assignments sorted into sections. It's giving very organized, very demure:

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

When wayprompt starts up, it goes looking for a file in these locations, in exactly 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] πŸŽ€

This is where the layout and the fonts live. Let's go πŸ”₯

  • font-regular = <font description>; β€” the font used for the description, the buttons and the error message. Defaults to "sans:size=14" ✨
  • font-large = <font description>; β€” the font used for the title. Defaults to "sans:size=20" πŸ‘‘
  • button-inner-padding = <positive integer>; β€” the padding around the labels of the buttons. Defaults to 5.
  • vertical-padding = <positive integer>; β€” the top and bottom padding of the dialog prompt window. Defaults to 10.
  • horizontal-padding = <positive integer>; β€” the left and right padding of the dialog prompt window. Defaults to 15.
  • pin-square-size = <positive integer>; β€” the size of the squares in the pin area (the little squares that represent the typed characters of the secret). Defaults to 18. (the original page lowkey says "size of of" and honestly? iconic, we keep it πŸ’€)
  • pin-square-amount = <positive integer>; β€” how many squares the pin area has. Defaults to 16.
  • border = <positive integer>; β€” the width of the border of the dialog prompt window. Defaults to 2.
  • pin-square-border = <positive integer>; β€” the width of the border around the squares in the pin area. Defaults to 1.
  • button-border = <positive integer>; β€” the 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 it to 0 to disable round corners entirely. Defaults to 10 πŸ¦‹

🌈 SECTION: [colours] 🌈

the aesthetic section fr fr β€” every value here is a <colour>, and here's every single one with its default:

  • 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 of 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 the cancel button. Defaults to 0x000000. (the original page says "thcancel ok button" here and honestly it ate, but yeah β€” it's the border of the cancel button πŸ’€)
  • cancel-button-text = <colour>; β€” text colour of the cancel button. Defaults to 0x000000.

πŸ’œ AUTHOR πŸ’œ

Leon Henrik Plickat β€” the main character who wrote all this 🫢

⭐ SEE ALSO ⭐

wayprompt(1), pinentry-wayprompt(1), wayprompt-ssh-askpass(1) β€” go read those too, iykyk 🌸


okay that's the whole page bestie, no cap πŸ’– this gem lives at git.sr.ht/~leon_plickat/wayprompt and it's dated 2023-06-03. slay, go write your config.ini now πŸ‘‘βœ¨

πŸ“¦ where this page comes from