Skip to content

Customization

Will Carter edited this page Oct 16, 2024 · 1 revision

Themes

Themes in zfetch are text files that define the layout and content of the system information display. They use a simple markup format with components enclosed in angle brackets, such as <Username>.

Key features of zfetch themes:

  • Built-in themes: zfetch includes several pre-defined themes.
  • Listing themes: Use the command line interface to view available themes.
  • Custom themes: Users can create and use their own theme files.
  • Theme selection: Themes can be selected using command-line flags.

To explore the built-in themes, you can:

  1. Use the command-line interface to list and view themes.
  2. Browse the project files on GitHub to see the theme definitions.

Custom Logos

zfetch allows users to personalize their output with custom logos and color schemes.

To use a custom logo:

  1. Create an ASCII art text file for your logo.
  2. Use the -l or --logo` flag in the command line to specify your custom logo file.

To add custom colors to your logo:

  1. Start the first line of your text file with three sets of angle brackets and list your desired colors:

<<< 33, 34, 92, 96 >>>

2. Place your ASCII art on the subsequent lines.
3. Use color references in your ASCII art with a dollar sign followed by the color number:

$1

This will change all following characters to the specified color until another color change is introduced.

Example:

<<< 33, 34, 92, 96 >>> $1 /
$2/
$3/
$4/______\


This feature allows for creative and personalized system information displays.

Clone this wiki locally