logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

yambar-decorations - configuration file

Background

This decoration sets the particles background color. CONFIGURATION ┌───────┬───────┬─────┬─────────────────────────────────────────────────────────────────────────────────┐ │ NameTypeReqDescription │ ├───────┼───────┼─────┼─────────────────────────────────────────────────────────────────────────────────┤ │ color │ color │ yes │ The background color. See yambar(5) for format. │ └───────┴───────┴─────┴─────────────────────────────────────────────────────────────────────────────────┘ EXAMPLES content: string: deco: background: color: 00ff00ff

Border

This decoration renders a border of configurable size (i.e border width) around the particle. CONFIGURATION ┌───────┬───────┬─────┬─────────────────────────────────────────────────────────────────────────────────┐ │ NameTypeReqDescription │ ├───────┼───────┼─────┼─────────────────────────────────────────────────────────────────────────────────┤ │ color │ color │ yes │ The color of the line. See yambar(5) for format. │ ├───────┼───────┼─────┼─────────────────────────────────────────────────────────────────────────────────┤ │ size │ int │ no │ Border width, in pixels. Defaults to 1px. │ └───────┴───────┴─────┴─────────────────────────────────────────────────────────────────────────────────┘ EXAMPLES content: string: deco: border: size: 2 color: ff0000ff

Description

Decorations are optional additions to particles, enabling you to e.g. change the background color of the entire particle, draw an underline and so on. Decorations are applied to the particle's margins as well. All decorations define their own configuration attributes, and there are no common attributes.

Name

yambar-decorations - configuration file

Overline

Similar to underline, this decoration renders a line of configurable size and color at the top of the particle. CONFIGURATION ┌───────┬───────┬─────┬─────────────────────────────────────────────────────────────────────────────────┐ │ NameTypeReqDescription │ ├───────┼───────┼─────┼─────────────────────────────────────────────────────────────────────────────────┤ │ size │ int │ yes │ The size (height/thickness) of the line, in pixels │ ├───────┼───────┼─────┼─────────────────────────────────────────────────────────────────────────────────┤ │ color │ color │ yes │ The color of the line. See yambar(5) for format. │ └───────┴───────┴─────┴─────────────────────────────────────────────────────────────────────────────────┘ EXAMPLES content: string: deco: overline: size: 2 color: ff0000ff

See Also

yambar-particles(5) 2024-04-20 yambar-decorations(5)

Stack

This particles combines multiple decorations. CONFIGURATION No configuration attributes available. The stack is just a list of the decorations that should be combined. EXAMPLES content: string: deco: stack: - background: ... - underline: ...

Underline

This decoration renders a line of configurable size and color at the bottom of the particle. CONFIGURATION ┌───────┬───────┬─────┬─────────────────────────────────────────────────────────────────────────────────┐ │ NameTypeReqDescription │ ├───────┼───────┼─────┼─────────────────────────────────────────────────────────────────────────────────┤ │ size │ int │ yes │ The size (height/thickness) of the line, in pixels │ ├───────┼───────┼─────┼─────────────────────────────────────────────────────────────────────────────────┤ │ color │ color │ yes │ The color of the line. See yambar(5) for format. │ └───────┴───────┴─────┴─────────────────────────────────────────────────────────────────────────────────┘ EXAMPLES content: string: deco: underline: size: 2 color: ff0000ff

See Also