neofetch/config/config

418 lines
8.1 KiB
Plaintext
Raw Normal View History

2016-01-29 15:14:29 +00:00
#!/usr/bin/env bash
#
2016-02-28 01:34:26 +00:00
# Neofetch config file
# https://github.com/dylanaraps/neofetch
2016-01-29 15:14:29 +00:00
# Speed up script by not using unicode
export LC_ALL=C
2016-03-18 22:37:29 +00:00
export LANG=C
2016-01-29 15:14:29 +00:00
# See this wiki page for more info:
2016-02-28 01:34:26 +00:00
# https://github.com/dylanaraps/neofetch/wiki/Customizing-Info
print_info() {
2016-01-29 15:14:29 +00:00
info title
info underline
info "OS" distro
info "Model" model
2016-01-29 15:14:29 +00:00
info "Kernel" kernel
info "Uptime" uptime
info "Packages" packages
info "Shell" shell
info "Resolution" resolution
2016-04-01 01:25:41 +01:00
info "DE" de
info "WM" wm
info "WM Theme" wm_theme
2016-02-15 23:50:40 +00:00
info "Theme" theme
info "Icons" icons
2016-05-28 02:22:34 +01:00
info "Terminal" term
info "Terminal Font" term_font
2016-01-29 15:14:29 +00:00
info "CPU" cpu
info "GPU" gpu
info "Memory" memory
2016-06-13 11:46:13 +01:00
# info "CPU Usage" cpu_usage
2016-01-29 15:14:29 +00:00
# info "Disk" disk
# info "Battery" battery
# info "Font" font
# info "Song" song
# info "Local IP" local_ip
# info "Public IP" public_ip
# info "Users" users
2016-01-30 23:47:22 +00:00
# info "Birthday" birthday
2016-01-29 15:14:29 +00:00
info line_break
2016-01-29 15:14:29 +00:00
info cols
info line_break
2016-01-29 15:14:29 +00:00
}
# Kernel
# Shorten the output of the kernel function
2016-10-30 09:55:14 +00:00
# --kernel_shorthand on, off
2016-01-29 15:14:29 +00:00
kernel_shorthand="on"
# Distro
# Shorten the output of the distro function
# NOTE: This is only possible on Linux, macOS, and Solaris
# --distro_shorthand on, off, tiny
distro_shorthand="off"
# Show 'x86_64' and 'x86' in 'Distro:' output.
2016-10-22 23:54:47 +01:00
# --os_arch on, off
os_arch="on"
2016-01-29 15:14:29 +00:00
# Uptime
2016-01-29 15:14:29 +00:00
# Shorten the output of the uptime function
# --uptime_shorthand tiny, on, off
uptime_shorthand="off"
# Shell
2016-01-29 15:14:29 +00:00
# Show the path to $SHELL
2016-10-22 23:54:47 +01:00
# --shell_path on, off
2016-10-17 22:32:06 +01:00
shell_path="off"
2016-01-29 15:14:29 +00:00
# Show $SHELL version
2016-10-22 23:54:47 +01:00
# --shell_version on, off
2016-10-17 22:32:06 +01:00
shell_version="on"
2016-01-29 15:14:29 +00:00
# CPU
2016-01-29 15:14:29 +00:00
# CPU speed type
# Only works on Linux with cpufreq.
# --speed_type current, min, max, bios,
# scaling_current, scaling_min, scaling_max
speed_type="max"
# Shorten the output of the CPU function
2016-06-13 11:22:38 +01:00
# --cpu_shorthand name, speed, tiny, on, off
cpu_shorthand="off"
2016-06-13 11:22:38 +01:00
# CPU Usage display
# Set CPU usage display setting
# --cpu_display bar, infobar, barinfo, off
2016-03-12 21:59:37 +00:00
cpu_display="off"
2016-10-22 23:45:03 +01:00
# CPU Speed
# Hide/Show CPU speed.
# --cpu_speed on, off
cpu_speed="on"
2016-03-15 07:55:35 +00:00
# CPU Cores
# Display CPU cores in output
2016-10-21 06:38:02 +01:00
# Logical: All virtual cores
# Physical: All physical cores
2016-10-21 10:29:16 +01:00
# Note: 'physical' doesn't work on BSD.
# --cpu_cores logical, physical, off
2016-10-21 06:40:58 +01:00
cpu_cores="logical"
2016-03-15 07:55:35 +00:00
2016-10-22 23:45:03 +01:00
# CPU Temperature
# Hide/Show CPU temperature.
# Note: Only works on Linux.
# --cpu_temp on, off
2016-10-22 23:47:01 +01:00
cpu_temp="off"
2016-10-22 23:45:03 +01:00
2016-01-29 15:14:29 +00:00
# GPU
# Enable/Disable GPU Brand
2016-10-22 23:54:47 +01:00
# --gpu_brand on, off
gpu_brand="on"
2016-10-22 23:54:47 +01:00
2016-03-18 05:32:06 +00:00
# Resolution
2016-03-18 05:32:06 +00:00
# Display refresh rate next to each monitor
# Unsupported on Windows
2016-10-22 23:54:47 +01:00
# --refresh_rate on, off
2016-03-18 05:32:06 +00:00
refresh_rate="off"
2016-01-29 15:14:29 +00:00
# Gtk Theme / Icons
2016-01-29 15:14:29 +00:00
# Shorten output (Hide [GTK2] etc)
2016-10-22 23:54:47 +01:00
# --gtk_shorthand on, off
2016-01-29 15:14:29 +00:00
gtk_shorthand="off"
# Enable/Disable gtk2 theme/icons output
2016-10-22 23:54:47 +01:00
# --gtk2 on, off
2016-01-29 15:14:29 +00:00
gtk2="on"
# Enable/Disable gtk3 theme/icons output
2016-10-22 23:54:47 +01:00
# --gtk3 on, off
2016-01-29 15:14:29 +00:00
gtk3="on"
# IP Address
# Website to ping for the public IP
# --ip_host url
public_ip_host="http://ident.me"
# Song
# Print the Artist and Title on seperate lines
2016-10-22 23:54:47 +01:00
# --song_shorthand on, off
song_shorthand="off"
2016-01-30 11:41:58 +00:00
# Birthday
2016-01-30 11:41:58 +00:00
# Whether to show a long pretty output
# or a shortened one
2016-01-31 00:02:32 +00:00
# NOTE: Long pretty output doesn't work on OpenBSD or NetBSD.
2016-10-22 23:54:47 +01:00
# --birthday_shorthand on, off
2016-01-30 11:41:58 +00:00
birthday_shorthand="off"
# Whether to show the time in the output
2016-10-22 23:54:47 +01:00
# --birthday_time on, off
2016-01-30 11:41:58 +00:00
birthday_time="on"
# Date format to use when printing birthday
# --birthday_format "format"
birthday_format="+%a %d %b %Y %l:%M %p"
# Text Colors
2016-01-29 15:14:29 +00:00
2016-02-23 05:52:25 +00:00
# Text Colors
# Each number represents a different part of
# the text in this order:
# title, @, underline, subtitle, colon, info
# colors=(4 6 1 8 8 6)
# You can also specify:
# fg (foreground color)
2016-02-23 05:52:25 +00:00
colors=(distro)
2016-01-29 15:14:29 +00:00
# Text Options
2016-01-29 15:14:29 +00:00
# Toggle bold text
2016-10-22 23:54:47 +01:00
# --bold on, off
2016-01-29 15:14:29 +00:00
bold="on"
# Enable/Disable Underline
2016-10-22 23:54:47 +01:00
# --underline on, off
2016-04-02 02:52:21 +01:00
underline_enabled="on"
2016-01-29 15:14:29 +00:00
# Underline character
# --underline_char char
underline_char="-"
# Color Blocks
# Color block range
# --block_range start end
start=0
end=7
# Toggle color blocks
2016-10-22 23:54:47 +01:00
# --color_blocks on, off
color_blocks="on"
# Color block width in spaces
# --block_width num
2016-10-16 00:48:37 +01:00
block_width=3
# Color block height in lines
# --block_height num
block_height=1
# Progress Bars
2016-03-02 23:12:21 +00:00
# Progress bar character
2016-04-24 09:30:57 +01:00
# --progress_char elapsed_char total_char
bar_char_elapsed="-"
bar_char_total="="
2016-04-24 09:30:57 +01:00
2016-10-03 00:03:41 +01:00
# Progress border
2016-10-22 23:54:47 +01:00
# --progress_border on, off
bar_border="on"
2016-03-02 23:12:21 +00:00
# Progress bar length in spaces
# Number of chars long to make the progress bars.
# --progress_length num
bar_length="15"
2016-03-02 23:12:21 +00:00
# Progress bar colors
2016-03-27 11:01:47 +01:00
# When set to distro, uses your distro's logo colors
# Takes: num, "distro"
2016-03-02 23:12:21 +00:00
# --progress_colors col col
bar_color_elapsed="distro"
bar_color_total="distro"
2016-03-02 23:12:21 +00:00
2016-03-12 21:37:33 +00:00
# Customize how the info is displayed.
# bar: Only the progress bar is displayed.
# infobar: The bar is displayed after the info.
# barinfo: The bar is displayed before the info.
# off: Only the info is displayed.
#
2016-10-22 23:54:47 +01:00
# --memory_display bar, infobar, barinfo, off
# --battery_display bar, infobar, barinfo, off
# --disk_display bar, infobar, barinfo, off
2016-03-12 21:37:33 +00:00
memory_display="off"
battery_display="off"
disk_display="off"
# Image Options
2016-01-29 15:14:29 +00:00
# Image Source
2016-11-12 13:30:09 +00:00
# --image wallpaper, /path/to/img, /path/to/dir/, off
image_source="wallpaper"
2016-01-29 15:14:29 +00:00
# Thumbnail directory
thumbnail_dir="${XDG_CACHE_HOME:-${HOME}/.cache}/thumbnails/neofetch"
2016-01-29 15:14:29 +00:00
# W3m-img path
2016-10-21 15:18:04 +01:00
# Only works with the w3m backend.
2016-11-07 19:59:14 +00:00
#
# NOTE: Only change this if "neofetch -v" says that it couldn't find w3m-img.
# Neofetch has a function that automatically finds w3m-img for you. It looks
# in the following directories:
# /usr/lib/w3m/w3mimgdisplay
# /usr/libexec/w3m/w3mimgdisplay
# /usr/lib64/w3m/w3mimgdisplay
# /usr/libexec64/w3m/w3mimgdisplay
# If w3m-img is installed elsewhere on your system, open an issue on the repo
# and I'll add it to the function inside the script. If w3m-img is installed
# in a non-standard way (in your home folder, etc) then change the variable
# below to the custom location. Otherwise, don't touch this.
2016-01-29 15:14:29 +00:00
w3m_img_path="/usr/lib/w3m/w3mimgdisplay"
# Crop mode
2016-10-22 23:54:47 +01:00
# --crop_mode normal, fit, fill
2016-01-29 15:14:29 +00:00
crop_mode="normal"
# Crop offset
# Only affects normal mode.
2016-10-22 23:54:47 +01:00
# --crop_offset northwest, north, northeast, west, center
# east, southwest, south, southeast
2016-01-29 15:14:29 +00:00
crop_offset="center"
# Image size
# The image is half the terminal width by default.
2016-05-27 06:23:02 +01:00
# --size auto, 00px, 00%, none
image_size="auto"
2016-01-29 15:14:29 +00:00
# Right gap between image and text
# --gap num
2016-11-23 04:54:28 +00:00
gap=3
2016-01-29 15:14:29 +00:00
# Image offsets
2016-10-21 15:18:04 +01:00
# Only works with the w3m backend.
2016-01-29 15:14:29 +00:00
# --xoffset px
# --yoffset px
yoffset=0
xoffset=0
2016-10-21 15:18:04 +01:00
# Image background color
# Only works with the w3m backend.
# Unset by default.
# --bg_color 'color', blue
background_color=
2016-01-29 15:14:29 +00:00
# Ascii Options
2016-01-29 15:14:29 +00:00
# Default ascii image to use
# When this is set to distro it will use your
# distro's logo as the ascii.
# --ascii 'distro', path/to/ascii
ascii="distro"
2016-08-12 07:52:51 +01:00
# Ascii distro
# Which distro's ascii art to display.
# --ascii_distro 'auto', 'distro_name'
ascii_distro="auto"
# Ascii colors
2016-01-29 15:14:29 +00:00
# When this is set to distro it will use your
# ditro's colors to color the ascii.
# NOTE: You can also set this to a range of colors
# which will allow you to custom color distro logos
# --ascii_colors distro
# --ascii_colors 2 4 5 6
ascii_colors=(distro)
2016-01-29 15:14:29 +00:00
# Logo size
# Arch, Crux and Gentoo have a smaller logo
# variant. Changing the value below to small
# will make neofetch use the small logo.
# --ascii_logo_size small, normal
ascii_logo_size="normal"
2016-01-29 15:14:29 +00:00
# Bold ascii logo
# Whether or not to bold the ascii logo.
2016-10-22 23:54:47 +01:00
# --ascii_bold on, off
2016-10-15 04:18:04 +01:00
ascii_bold="on"
# Scrot Options
2016-01-29 15:14:29 +00:00
# Whether or not to always take a screenshot
# You can manually take a screenshot with "--scrot" or "-s"
scrot="off"
# Screenshot program to launch
# --scrot_cmd
scrot_cmd="scrot -c -d 3"
# Scrot dir
# Where to save the screenshots
# --scrot_dir /path/to/screenshot/folder
2016-03-18 22:37:29 +00:00
scrot_dir="$HOME/Pictures/"
2016-01-29 15:14:29 +00:00
# Scrot filename
# What to name the screenshots
# --scrot_name str
2016-10-02 10:31:25 +01:00
scrot_name="neofetch-$(date +%F-%I-%M-%S-${RANDOM}).png"
# Image upload host
# Where to upload the image.
2016-10-02 12:49:30 +01:00
# Possible values: imgur, teknik
2016-10-02 12:46:51 +01:00
image_host="imgur"
2016-01-29 15:14:29 +00:00
# Config Options
2016-01-29 15:14:29 +00:00
# Enable/Disable config file
2016-01-31 21:00:20 +00:00
# --config off, none
config="on"
2016-01-30 00:09:36 +00:00
# Path to custom config file location
2016-01-29 15:14:29 +00:00
# --config path/to/config
config_file="${XDG_CONFIG_HOME:-${HOME}/.config}/neofetch/config"