MACCHINA(7)

πŸ“¦ version 6.4.0, in arch rolling, nixos 26.05, nixpkgs unstable

πŸ’… macchina(7) β€” theming, bestie πŸ’…

okay so this is macchina(7), straight outta the Miscellaneous Information Manual, and it's literally your guide to making macchina look exactly how you want. no cap. 🫢


🌸 NAME 🌸

macchina β€” theming. that's the whole vibe.

πŸ¦‹ SYNOPSIS πŸ¦‹

$XDG_CONFIG_HOME/macchina/themes, ~/.config/macchina/themes.

✨ DESCRIPTION ✨

Themes are your interface to customizing all visual aspects of macchina. The following manpage covers everything you need to know to design your own theme, fr fr. πŸŽ€

πŸŽ€ GENERAL OPTIONS πŸŽ€

General options should be set at the top of the theme's configuration file, because they do not belong to any particular section.

spacing

Defines the amount of spacing to leave between the separator and the content besides it, e.g.:

spacing = 1

padding

Defines the amount of padding to leave between the content and its surroundings, e.g.:

padding = 0

hide_ascii

Disables the rendering of ASCII, whether it be built-in or custom, e.g.:

hide_ascii = false

prefer_small_ascii

For built-in ASCII, always use smaller variants, e.g.:

prefer_small_ascii = true

separator

Defines the glyph to use for the separator, e.g.:

separator = "-->"

key_color

Defines the color of the keys.

Accepts hexadecimal values:

color = "#00FF00"

Indexed values:

color = "046"

Predefined color names, where casing is insensitive:

color = "Green"

separator_color

Defines the color of the separator.

Accepts hexadecimal values:

color = "#00FF00"

Indexed values:

color = "046"

Predefined color names, where casing is insensitive:

color = "Green"

🌈 PALETTE SECTION 🌈

This section, noted [palette], offers a visual component that displays and represents the active colorscheme of your terminal emulator. it's giving color-swatch main character energy. πŸ’…

type

Defines the color set to use for the palette, with possible values of "Dark", "Light", "Full" (case-sensitive).

glyph

Defines the glyph to use for the palette, e.g.:

glyph = "() "

You should append a space to leave some room between the glyphs.

visible

Defines whether to show or hide the palette, e.g.:

visible = true

πŸ“Š BAR SECTION πŸ“Š

This section, noted [bar], replaces data that ranges from 0-100% with bars.

glyph

Defines the glyph to use for all bars, e.g.:

glyph = "o"

symbol_open

Defines the character to use for opening delimiters. Be sure to surround the value with single quotes and not double quotes, e.g.:

symbol_open = '('

symbol_close

Defines the character to use for closing delimiters. Be sure to surround the value with single quotes and not double quotes, e.g.:

symbol_close = ')'

visible

Defines whether to show or hide the bars, e.g.:

visible = true

hide_delimiters

Defines whether to show or hide the bars delimiters, i.e. the characters that surround the bars themselves, e.g.:

hide_delimiters = false

🎁 BOX SECTION 🎁

The section, noted [box], offers a box component which is rendered to surround your system information.

title

Defines the title of the box, e.g.:

title = "Hydrogen"

border

Defines the type of border to use for the box, with possible values of "plain", "thick", "rounded" or "double".

visible

Defines whether to show or hide the box, e.g.:

visible = true

πŸ“ BOX.INNER_MARGIN SECTION πŸ“

x

Defines the horizontal margin to leave between the content and the box, e.g.:

x = 2

y

Defines the vertical margin to leave between the content and the box, e.g.:

y = 1

🧚 CUSTOM_ASCII SECTION 🧚

This section, noted [custom_ascii], allows you to specify your own ASCII art. ANSI escape sequences are supported. iconic.

color

Defines the color of the ASCII.

Accepts hexadecimal values:

color = "#00FF00"

Indexed values:

color = "046"

Predefined color names (case-insensitive):

color = "Green"

path

Defines the path to a file on your filesystem which contains the ASCII art you want to display, e.g.:

path = "~/ascii/arch_linux"

🎲 RANDOMIZE SECTION 🎲

This section, noted [randomize], is used to randomize color selection. chaos, but make it aesthetic. ✨

key_color

Defines whether to randomize the color of the keys, e.g.:

key_color = true

separator_color

Defines whether to randomize the color of the separator, e.g.:

separator_color = true

pool

Defines the pool of colors from which to pick a random color, with possible values of "hexadecimal", "indexed" or "base" (case-insensitive).

  • If "hexadecimal" is specified, you'll get a random color ranging from #000000 to #FFFFFF
  • If "indexed" is specified, you'll get a random color ranging from 0 to 255
  • If "base" is specified, you'll see a random color from the following set of colors: "black", "white", "red", "green", "blue", "yellow", "magenta" and "cyan".

πŸ”‘ KEYS SECTION πŸ”‘

This section, noted [keys], allows you to modify the text of each key.

For example, the "Processor" readout, which by default shows up as "CPU" in macchina's output, can be renamed to whatever you like by setting the "cpu" option.

  • host β€” Defines the text of the Host readout, e.g. host = "Host"
  • kernel β€” Defines the text of the Kernel readout, e.g. kernel = "Kernel"
  • os β€” Defines the text of the OperatingSystem readout, e.g. os = "OS"
  • machine β€” Defines the text of the Machine readout, e.g. machine= "Machine"
  • de β€” Defines the text of the DesktopEnvironment readout, e.g. de = "DE"
  • wm β€” Defines the text of the WindowManager readout, e.g. wm = "WM"
  • distro β€” Defines the text of the Distribution readout, e.g. distro = "Distro"
  • terminal β€” Defines the text of the Terminal readout, e.g. terminal = "Term"
  • shell β€” Defines the text of the Shell readout, e.g. shell = "Shell"
  • packages β€” Defines the text of the Packages readout, e.g. packages = "Packages"
  • uptime β€” Defines the text of the Uptime readout, e.g. uptime = "Uptime"
  • local_ip β€” Defines the text of the LocalIP readout, e.g. local_ip = "Local IP"
  • memory β€” Defines the text of the Memory readout, e.g. memory = "Memory"
  • battery β€” Defines the text of the Battery readout, e.g. battery = "Battery"
  • backlight β€” Defines the text of the Backlight readout, e.g. backlight = "Brightness"
  • resolution β€” Defines the text of the Resolution readout, e.g. resolution = "Resolution"
  • cpu β€” Defines the text of the Processor readout, e.g. cpu = "CPU"
  • cpu_load β€” Defines the text of the ProcessorLoad readout, e.g. cpu_load = "CPU %"
  • gpu β€” Defines the text of the GPU readout(s), e.g. gpu = "GPU"
  • disk_space β€” Defines the text of the disk space readout, e.g. disk_space = "Disk Space"

πŸ”— SEE ALSO πŸ”—

macchina(1)


xoxo bestie, signing off from MACCHINA(7) β€” dated 2023-03-28 πŸ’–πŸ«Ά

πŸ“¦ where this page comes from