YAPET_COLORS(5)

✨ YAPET_COLORS(5) ✨

okay bestie so this is yapet_colors β€” the whole entire format of the YAPET color configuration. it's giving "make your password manager match your aesthetic" and honestly? we're obsessed. πŸ’…


🌸 NAME 🌸

yapet_colors β€” the format of the YAPET color configuration πŸ’–


πŸŽ€ DESCRIPTION πŸŽ€

so like, you can customize the color scheme of YAPET by setting the colors option in $HOME/.yapet. yes, that's the vibe. and it has this syntax:

colors=OBJ1:<fg1><bg1><attr1>;...;OBJN:<fgN><bgN><attrN>

let's break it down, no cap:

  • OBJN β€” the UI object you're setting the color for. peek at UI Objects for the possible values πŸ‘€
  • <fgN> β€” the foreground color of that UI object. Colors has the possible values 🌈
  • <bgN> β€” the background color of that UI object. again, Colors for the possible values πŸ¦‹
  • <attrN> β€” the attribute of the UI object. attributes are what you use if your terminal doesn't support colors (tragic, but we cope). Attributes has the possible values ⭐

🧚 Table 1. UI Objects

  • Default Color β€” DEF
  • Dialog β€” DIA
  • Dialog Title β€” DIT
  • Input Widget w/o focus β€” IWN
  • Input Widget w/ focus β€” IWF
  • Hidden text in Input Widget β€” IWH
  • Button w/o focus β€” BTN
  • Button w/ focus β€” BTF
  • List Box β€” LBX
  • Highlighted line in List Box β€” LBH
  • Check box group β€” CBG
  • Title Bar β€” TLB
  • Status Bar β€” STB

🌈 Table 2. Colors

  • Black β€” k
  • Red β€” r
  • Green β€” g
  • Yellow β€” y
  • Blue β€” b
  • Magenta β€” m
  • Cyan β€” c
  • White β€” w

⭐ Table 3. Attributes

  • Normal β€” 0
  • Standout β€” 1
  • Underline β€” 2
  • Reverse β€” 3
  • Blink β€” 4
  • Dim β€” 5
  • Protected β€” 6
  • Invisible β€” 7

πŸ’– EXAMPLES πŸ’–

πŸ”₯ Default YAPET Colors

ok so real talk β€” this line has been wrapped for better readability. line breaks are not allowed in colors. don't do it. i'm serious. πŸ™ˆ
colors=DEF:wk0;DIA:wb0;DIT:bw3;IWN:kw3;IWF:kg3;IWH:yy7;
       BTN:wk0;BTF:kg3;LBX:wk0;LBH:kg3;CBG:yc0;TLB:bw0;STB:bw0

πŸ¦‹ FILES πŸ¦‹

  • $HOME/.yapet β€” the per-user configuration file. if it exists, options get read from it, but they can be overridden by the command line options. and if you wanna disable processing of this file entirely? just invoke yapet with the -i option. for the full explanation of the per-user configuration file, go read yapet_config(5). periodt. πŸ‘‘

πŸ‘‘ AUTHORS πŸ‘‘

Rafael Ostertag rafi@guengel.ch. iconic behavior honestly.


🫢 SEE ALSO 🫢

yapet(1), yapet_config(5)


and that's the whole page bestie!! this was YAPET 2.6, dated 2022-03-12 πŸ’œ go forth and make your terminal pretty, you main character 🌸✨

πŸ“¦ where this page comes from