mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
288 lines
5.7 KiB
Text
288 lines
5.7 KiB
Text
print_info() {
|
|
info title
|
|
info underline
|
|
|
|
info "OS" distro
|
|
info "Kernel" kernel
|
|
info "Uptime" uptime
|
|
info "Packages" packages
|
|
info "Shell" shell
|
|
info "Resolution" resolution
|
|
info "DE" de
|
|
info "WM" wm
|
|
info "WM Theme" wm_theme
|
|
info "Theme" theme
|
|
info "Icons" icons
|
|
info "Terminal" term
|
|
info "Terminal Font" term_font
|
|
info "CPU" cpu
|
|
info "GPU" gpu
|
|
info "Memory" memory
|
|
info "Disk" disk
|
|
# info "Font" font
|
|
info "Local IP" local_ip
|
|
info "Public IP" public_ip
|
|
info "Users" users
|
|
}
|
|
|
|
# Hide/Show Fully qualified domain name.
|
|
# Values: 'on', 'off'
|
|
title_fqdn="off"
|
|
|
|
|
|
# Shorten the output of the kernel function.
|
|
# Values: 'on', 'off'
|
|
kernel_shorthand="on"
|
|
|
|
# Shorten the output of the distro function
|
|
# Values: 'on', 'tiny', 'off'
|
|
distro_shorthand="off"
|
|
|
|
# Show/Hide OS Architecture.
|
|
# Values: 'on', 'off'
|
|
os_arch="on"
|
|
|
|
# Uptime
|
|
# Values: 'on', 'tiny', 'off'
|
|
uptime_shorthand="on"
|
|
|
|
# Memory
|
|
# Values: 'on', 'off'
|
|
memory_percent="off"
|
|
|
|
# Change memory output unit.
|
|
# Values: 'kib', 'mib', 'gib'
|
|
memory_unit="mib"
|
|
|
|
# Packages
|
|
# Values: 'on', 'tiny' 'off'
|
|
package_managers="on"
|
|
|
|
# Shell
|
|
# Values: 'on', 'off'
|
|
shell_path="off"
|
|
|
|
# Show $SHELL version
|
|
shell_version="on"
|
|
|
|
# CPU
|
|
# Values: 'scaling_cur_freq', 'scaling_min_freq', 'scaling_max_freq', 'bios_limit'.
|
|
speed_type="bios_limit"
|
|
|
|
# CPU speed shorthand
|
|
# Values: 'on', 'off'.
|
|
speed_shorthand="off"
|
|
|
|
# Enable/Disable CPU brand in output.
|
|
# Values: 'on', 'off'
|
|
cpu_brand="on"
|
|
|
|
# CPU Speed
|
|
# Values: 'on', 'off'
|
|
cpu_speed="on"
|
|
|
|
# CPU Cores
|
|
# Values: 'logical', 'physical', 'off'
|
|
cpu_cores="logical"
|
|
|
|
# CPU Temperature
|
|
# Values: 'C', 'F', 'off'
|
|
cpu_temp="C"
|
|
|
|
# GPU
|
|
# Values: 'on', 'off'
|
|
gpu_brand="on"
|
|
|
|
# Which GPU to display
|
|
# Values: 'all', 'dedicated', 'integrated'
|
|
gpu_type="all"
|
|
|
|
# Resolution
|
|
# Values: 'on', 'off'
|
|
refresh_rate="off"
|
|
|
|
# Gtk Theme / Icons / Font
|
|
# Values: 'on', 'off'
|
|
gtk_shorthand="off"
|
|
|
|
# Enable/Disable gtk2 Theme / Icons / Font
|
|
# Values: 'on', 'off'
|
|
gtk2="on"
|
|
|
|
# Enable/Disable gtk3 Theme / Icons / Font
|
|
# Values: 'on', 'off'
|
|
gtk3="on"
|
|
|
|
# IP Address
|
|
# Values: 'url'
|
|
public_ip_host="http://ident.me"
|
|
|
|
# Public IP timeout.
|
|
# Values: 'int'
|
|
public_ip_timeout=2
|
|
|
|
# Desktop Environment
|
|
# Values: 'on', 'off'
|
|
de_version="on"
|
|
|
|
# Disk
|
|
# Values: '/', '/dev/sdXX', '/path/to/drive'.
|
|
disk_show=('/')
|
|
|
|
# Disk subtitle.
|
|
# Values: 'mount', 'name', 'dir', 'none'
|
|
disk_subtitle="mount"
|
|
|
|
# Disk percent.
|
|
# Values: 'on', 'off'
|
|
disk_percent="on"
|
|
|
|
# Song
|
|
# Values: 'auto', 'player-name'
|
|
music_player="auto"
|
|
|
|
# Format to display song information.
|
|
# Values: '%artist%', '%album%', '%title%'
|
|
song_format="%artist% - %album% - %title%"
|
|
|
|
# Print the Artist, Album and Title on separate lines
|
|
# Values: 'on', 'off'
|
|
song_shorthand="off"
|
|
|
|
# 'mpc' arguments (specify a host, password etc).
|
|
mpc_args=()
|
|
|
|
# Text Colors
|
|
# Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num'
|
|
colors=(distro)
|
|
|
|
# Toggle bold text
|
|
# Values: 'on', 'off'
|
|
bold="on"
|
|
|
|
# Enable/Disable Underline
|
|
# Values: 'on', 'off'
|
|
underline_enabled="on"
|
|
|
|
# Underline character
|
|
# Values: 'string'
|
|
underline_char="-"
|
|
|
|
# Info Separator
|
|
# Replace the default separator with the specified string.
|
|
separator=":"
|
|
|
|
# Color block range
|
|
# The range of colors to print.
|
|
# Values: 'num'
|
|
block_range=(0 15)
|
|
|
|
# Toggle color blocks
|
|
# Values: 'on', 'off'
|
|
color_blocks="on"
|
|
|
|
# Color block width in spaces
|
|
# Values: 'num'
|
|
block_width=3
|
|
|
|
# Color block height in lines
|
|
# Values: 'num'
|
|
block_height=1
|
|
|
|
# Color Alignment
|
|
# Values: 'auto', 'num'
|
|
col_offset="auto"
|
|
|
|
# Bar characters
|
|
# Values: 'string', 'string'
|
|
bar_char_elapsed="-"
|
|
bar_char_total="="
|
|
|
|
# Toggle Bar border
|
|
# Values: 'on', 'off'
|
|
bar_border="on"
|
|
|
|
# Progress bar length in spaces
|
|
# Number of chars long to make the progress bars.
|
|
# Values: 'num'
|
|
bar_length=15
|
|
|
|
# Progress bar colors
|
|
# When set to distro, uses your distro's logo colors.
|
|
# Values: 'distro', 'num'
|
|
bar_color_elapsed="distro"
|
|
bar_color_total="distro"
|
|
|
|
# Info display
|
|
# Display a bar with the info.
|
|
cpu_display="off"
|
|
memory_display="off"
|
|
battery_display="off"
|
|
disk_display="off"
|
|
|
|
# Image backend.
|
|
# Values: 'ascii', 'caca', 'chafa', 'jp2a', 'iterm2', 'off',
|
|
# 'pot', 'termpix', 'pixterm', 'tycat', 'w3m', 'kitty'
|
|
image_backend="ascii"
|
|
|
|
# Which image or ascii file to display.
|
|
# Values: 'auto', 'ascii', 'wallpaper', '/path/to/img', '/path/to/ascii', '/path/to/dir/'
|
|
# 'command output (neofetch --ascii "$(fortune | cowsay -W 30)")'
|
|
image_source="auto"
|
|
|
|
# Ascii distro
|
|
ascii_distro="auto"
|
|
|
|
# Ascii Colors
|
|
# Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num'
|
|
ascii_colors=(distro)
|
|
|
|
# Bold ascii logo
|
|
# Whether or not to bold the ascii logo.
|
|
# Values: 'on', 'off'
|
|
ascii_bold="on"
|
|
|
|
# Image loop
|
|
# Setting this to on will make neofetch redraw the image constantly until
|
|
# Ctrl+C is pressed. This fixes display issues in some terminal emulators.
|
|
# Values: 'on', 'off'
|
|
image_loop="off"
|
|
|
|
# Thumbnail directory
|
|
# Values: 'dir'
|
|
thumbnail_dir="${XDG_CACHE_HOME:-${HOME}/.cache}/thumbnails/neofetch"
|
|
|
|
# Crop mode
|
|
# Values: 'normal', 'fit', 'fill'
|
|
crop_mode="normal"
|
|
|
|
# Crop offset
|
|
# Values: 'northwest', 'north', 'northeast', 'west', 'center'
|
|
# 'east', 'southwest', 'south', 'southeast'
|
|
crop_offset="center"
|
|
|
|
# Image size
|
|
# The image is half the terminal width by default.
|
|
# Values: 'auto', '00px', '00%', 'none'
|
|
image_size="auto"
|
|
|
|
# Gap between image and text
|
|
# Values: 'num', '-num'
|
|
gap=3
|
|
|
|
# Image offsets
|
|
# Only works with the w3m backend.
|
|
# Values: 'px'
|
|
yoffset=0
|
|
xoffset=0
|
|
|
|
# Image background color
|
|
# Only works with the w3m backend.
|
|
# Values: 'color', 'blue'
|
|
background_color=
|
|
|
|
# Stdout mode
|
|
# Turn off all colors and disables image backend (ASCII/Image).
|
|
# Useful for piping into another command.
|
|
# Values: 'on', 'off'
|
|
stdout="off"
|