WAYPROMPT(5)
πΈ 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.inishould$XDG_CONFIG_HOMEbe 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 to5.vertical-padding = <positive integer>;β the top and bottom padding of the dialog prompt window. Defaults to10.horizontal-padding = <positive integer>;β the left and right padding of the dialog prompt window. Defaults to15.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 to18. (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 to16.border = <positive integer>;β the width of the border of the dialog prompt window. Defaults to2.pin-square-border = <positive integer>;β the width of the border around the squares in the pin area. Defaults to1.button-border = <positive integer>;β the width of the border around the buttons. Defaults to1.corner-radius = <positive integer>;β the radius of the corners of the dialog prompt window. Set it to0to disable round corners entirely. Defaults to10π¦
π 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 to0xFFFFFF.border = <colour>;β border colour of the dialog prompt window. Defaults to0x000000.text = <colour>;β colour of the title, description and prompt texts. Defaults to0x000000.error-text = <colour>;β colour of the error text. Defaults to0xE0002B.pin-background = <colour>;β colour of the pin area. Defaults to0xD0D0D0.pin-border = <colour>;β colour of the pin area border and the pin square borders. Defaults to0x000000.pin-square = <colour>;β colour of the pin squares. Defaults to0x808080.ok-button = <colour>;β background colour of the ok button. Defaults to0xD5F200.ok-button-border = <colour>;β border colour of the ok button. Defaults to0x000000.ok-button-text = <colour>;β text colour of the ok button. Defaults to0x000000.not-ok-button = <colour>;β background colour of the not ok button. Defaults to0xFFE53E.not-ok-button-border = <colour>;β border colour of the not ok button. Defaults to0x000000.not-ok-button-text = <colour>;β text colour of the not ok button. Defaults to0x000000.cancel-button = <colour>;β background colour of the cancel button. Defaults to0xFF4647.cancel-button-border = <colour>;β border colour of the cancel button. Defaults to0x000000. (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 to0x000000.
π 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
- nixos 26.05: wayprompt 0.1.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms