MACCHINA(7) | Miscellaneous Information Manual | MACCHINA(7) |
NAME
macchina - theming.
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.
GENERAL OPTIONS
General options should be set at the top of the theme's configuration file, as 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:
Indexed values:
Predefined color names, where casing is insensitive:
separator_color
Defines the color of the separator.
Accepts hexadecimal values:
Indexed values:
Predefined color names, where casing is insensitive:
PALETTE SECTION
This section, noted [palette], offers a visual component that displays and represents the active colorscheme of your terminal emulator.
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.:
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
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.:
visible
Defines whether to show or hide the bars, e.g.:
hide_delimiters
Defines whether to show or hide the bars delimiters, i.e. the characters that surround the bars themselves, e.g.:
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.:
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.:
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.
color
Defines the color of the ASCII.
Accepts hexadecimal values:
Indexed values:
Predefined color names (case-insensitive):
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.
key_color
Defines whether to randomize the color of the keys, e.g.:
separator_color
Defines whether to randomize the color of the separator, e.g.:
pool
Defines the pool of colors from which to pick a random color, with possible values of "hexadecimal", "indexed" or "base" (case-insensitive).
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.:
kernel
Defines the text of the Kernel readout, e.g.:
os
Defines the text of the OperatingSystem readout, e.g.:
machine
Defines the text of the Machine readout, e.g.:
de
Defines the text of the DesktopEnvironment readout, e.g.:
wm
Defines the text of the WindowManager readout, e.g.:
distro
Defines the text of the Distribution readout, e.g.:
distro = "Distro"
terminal
Defines the text of the Terminal readout, e.g.:
shell
Defines the text of the Shell readout, e.g.:
packages
Defines the text of the Packages readout, e.g.:
uptime
Defines the text of the Uptime readout, e.g.:
local_ip
Defines the text of the LocalIP readout, e.g.:
memory
Defines the text of the Memory readout, e.g.:
battery
Defines the text of the Battery readout, e.g.:
battery = "Battery"
backlight
Defines the text of the Backlight readout, e.g.:
resolution
Defines the text of the Resolution readout, e.g.:
cpu
Defines the text of the Processor readout, e.g.:
cpu = "CPU"
cpu_load
Defines the text of the ProcessorLoad readout, e.g.:
gpu
Defines the text of the GPU readout(s), e.g.:
disk_space
Defines the text of the disk space readout, e.g.:
SEE ALSO
macchina(1)
2023-03-28 |