Skip to content

Orest58008/yass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YASS is yet another sysfetch software written in Go

Features

  • environment variables, os-release, meminfo, hostname, kernel version support
  • basic configuration with ANSI styling support
  • no dependencies

Configuration

ANSI styling

  • <b> for bold text
  • <d> for dimmed
  • <i> for italics
  • <u> for underline
  • <uu> for double underline
  • <s> for strikethrough
  • <r> for reversed colors
  • <clear> to clear all styling including color

Colors

  • <color> for color
    • supported colors: black, red, green, yellow, blue, magenta, cyan and white
  • <brcolor> for bright version of color
  • <bgcolor> for background color
  • <bgbrcolor> for bright version of background color
  • <distrocolor> for your Linux distro's color

Using variables from envvars, os-release, meminfo etc.

  • $VARIABLE_NAME$ will be replaced with variable's value
    • names are the same as in source(e.g. MEMREE for free memory); hostname is HOSTNAME, kernel version is KERNEL_VERSION
    • the name should be in ALL CAPS
    • by default, meminfo values are in kB, for values in MiB and GiB use VARIABLE_MB and VARIABLE_GB
    • uptime in seconds, minutes and hours is UPTIME_SECS, UPTIME_MINS, UPTIME_HRS
    • PM_NAME for your package manager's name. PM_COUNT for number of packages installed through it. To get specific package manager's number of packages, use it's name in all uppercase