2016-01-29 08:14:29 -07:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
# vim:fdm=marker
|
|
|
|
#
|
2016-02-27 18:34:26 -07:00
|
|
|
# Neofetch config file
|
|
|
|
# https://github.com/dylanaraps/neofetch
|
2016-01-29 08:14:29 -07:00
|
|
|
|
|
|
|
# Speed up script by not using unicode
|
|
|
|
export LC_ALL=C
|
2016-03-18 16:37:29 -06:00
|
|
|
export LANG=C
|
2016-01-29 08:14:29 -07:00
|
|
|
|
|
|
|
# Info Options {{{
|
|
|
|
|
2016-01-30 04:41:58 -07:00
|
|
|
|
2016-01-29 08:14:29 -07:00
|
|
|
# Info
|
|
|
|
# See this wiki page for more info:
|
2016-02-27 18:34:26 -07:00
|
|
|
# https://github.com/dylanaraps/neofetch/wiki/Customizing-Info
|
2016-01-29 08:14:29 -07:00
|
|
|
printinfo () {
|
|
|
|
info title
|
|
|
|
info underline
|
|
|
|
|
|
|
|
info "OS" distro
|
|
|
|
info "Kernel" kernel
|
|
|
|
info "Uptime" uptime
|
|
|
|
info "Packages" packages
|
|
|
|
info "Shell" shell
|
2016-02-23 01:46:22 -07:00
|
|
|
info "Resolution" resolution
|
2016-03-31 18:25:41 -06:00
|
|
|
info "DE" de
|
|
|
|
info "WM" wm
|
|
|
|
info "WM Theme" wmtheme
|
2016-02-15 16:50:40 -07:00
|
|
|
info "Theme" theme
|
|
|
|
info "Icons" icons
|
2016-05-27 19:22:34 -06:00
|
|
|
info "Terminal" term
|
2016-05-17 23:27:34 -06:00
|
|
|
info "Terminal Font" termfont
|
2016-01-29 08:14:29 -07:00
|
|
|
info "CPU" cpu
|
|
|
|
info "GPU" gpu
|
|
|
|
info "Memory" memory
|
|
|
|
|
|
|
|
# info "Disk" disk
|
2016-02-01 07:56:33 -07:00
|
|
|
# info "Battery" battery
|
2016-05-17 23:27:34 -06:00
|
|
|
# info "Font" font
|
|
|
|
# info "Song" song
|
2016-02-09 03:50:57 -07:00
|
|
|
# info "Local IP" localip
|
2016-02-23 22:50:09 -07:00
|
|
|
# info "Public IP" publicip
|
2016-02-24 22:11:53 -07:00
|
|
|
# info "Users" users
|
2016-01-30 16:47:22 -07:00
|
|
|
# info "Birthday" birthday
|
2016-01-29 08:14:29 -07:00
|
|
|
|
|
|
|
info linebreak
|
|
|
|
info cols
|
|
|
|
info linebreak
|
2016-03-04 22:05:30 -07:00
|
|
|
info linebreak
|
2016-01-29 08:14:29 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
# Kernel
|
|
|
|
|
|
|
|
# Show more kernel info
|
|
|
|
# --kernel_shorthand on/off
|
|
|
|
kernel_shorthand="on"
|
|
|
|
|
|
|
|
|
|
|
|
# Distro
|
|
|
|
|
|
|
|
# Mac OS X hide/show build version
|
|
|
|
# --osx_buildversion on/off
|
|
|
|
osx_buildversion="on"
|
|
|
|
|
2016-03-13 06:08:08 -06:00
|
|
|
# Mac OS X hide/show codename
|
|
|
|
# --osx_codename on/off
|
|
|
|
osx_codename="on"
|
|
|
|
|
2016-01-31 20:45:53 -07:00
|
|
|
# Show 'x86_64' and 'x86' in 'Distro:' output.
|
|
|
|
# --os_arch on/off
|
|
|
|
os_arch="on"
|
2016-01-31 14:40:10 -07:00
|
|
|
|
2016-01-29 08:14:29 -07:00
|
|
|
|
|
|
|
# Uptime
|
|
|
|
|
|
|
|
# Shorten the output of the uptime function
|
|
|
|
# --uptime_shorthand tiny, on, off
|
|
|
|
uptime_shorthand="off"
|
|
|
|
|
|
|
|
|
|
|
|
# Shell
|
|
|
|
|
|
|
|
# Show the path to $SHELL
|
|
|
|
# --shell_path on/off
|
|
|
|
shell_path="on"
|
|
|
|
|
|
|
|
# Show $SHELL's version
|
|
|
|
# --shell_version on/off
|
|
|
|
shell_version="off"
|
|
|
|
|
|
|
|
|
|
|
|
# CPU
|
|
|
|
|
|
|
|
# CPU speed type
|
|
|
|
# Only works on Linux with cpufreq.
|
|
|
|
# --speed_type current, min, max, bios,
|
|
|
|
# scaling_current, scaling_min, scaling_max
|
|
|
|
speed_type="max"
|
|
|
|
|
2016-03-12 14:59:37 -07:00
|
|
|
# CPU Display
|
|
|
|
# Set shorthand setting and progress bar setting
|
|
|
|
# --cpu_display (name, speed, tiny, on, off) (bar, infobar, barinfo, off)
|
2016-03-10 14:27:00 -07:00
|
|
|
cpu_shorthand="off"
|
2016-03-12 14:59:37 -07:00
|
|
|
cpu_display="off"
|
2016-03-10 14:27:00 -07:00
|
|
|
|
2016-03-15 01:55:35 -06:00
|
|
|
# CPU Cores
|
|
|
|
# Display CPU cores in output
|
|
|
|
# --cpu_cores on/off
|
|
|
|
cpu_cores="on"
|
|
|
|
|
2016-01-29 08:14:29 -07:00
|
|
|
|
|
|
|
# GPU
|
|
|
|
|
|
|
|
# Shorten output of the getgpu funcion
|
2016-03-11 02:48:06 -07:00
|
|
|
# --gpu_shorthand on/off/tiny
|
2016-02-10 15:20:03 -07:00
|
|
|
gpu_shorthand="on"
|
2016-01-29 08:14:29 -07:00
|
|
|
|
2016-03-17 23:32:06 -06:00
|
|
|
# Resolution
|
|
|
|
|
|
|
|
# Display refresh rate next to each monitor
|
2016-03-25 18:34:35 -06:00
|
|
|
# Unsupported on Windows
|
2016-03-17 23:32:06 -06:00
|
|
|
# --refresh_rate on/off
|
|
|
|
refresh_rate="off"
|
|
|
|
|
2016-01-29 08:14:29 -07:00
|
|
|
|
|
|
|
# Gtk Theme / Icons
|
|
|
|
|
|
|
|
# Shorten output (Hide [GTK2] etc)
|
|
|
|
# --gtk_shorthand on/off
|
|
|
|
gtk_shorthand="off"
|
|
|
|
|
|
|
|
|
|
|
|
# Enable/Disable gtk2 theme/icons output
|
|
|
|
# --gtk2 on/off
|
|
|
|
gtk2="on"
|
|
|
|
|
|
|
|
# Enable/Disable gtk3 theme/icons output
|
|
|
|
# --gtk3 on/off
|
|
|
|
gtk3="on"
|
|
|
|
|
|
|
|
|
2016-02-01 15:09:31 -07:00
|
|
|
# Battery
|
|
|
|
|
|
|
|
# Which battery to display.
|
|
|
|
# By default we display all batteries.
|
2016-02-02 15:26:47 -07:00
|
|
|
# NOTE: Only works on Linux.
|
2016-02-01 15:09:31 -07:00
|
|
|
# --battery_num all, 0, 1, 2, etc
|
|
|
|
battery_num="all"
|
|
|
|
|
2016-02-01 18:01:50 -07:00
|
|
|
# Whether or not to print each battery on the same line.
|
|
|
|
# By default each battery gets its own line and title.
|
2016-02-02 15:26:47 -07:00
|
|
|
# NOTE: Only works on Linux.
|
2016-02-01 18:01:50 -07:00
|
|
|
# --battery_shorthand on/off
|
|
|
|
battery_shorthand="off"
|
|
|
|
|
2016-02-01 15:09:31 -07:00
|
|
|
|
2016-02-08 23:26:44 -07:00
|
|
|
# IP Address
|
|
|
|
|
|
|
|
# Website to ping for the public IP
|
|
|
|
# --ip_host url
|
|
|
|
public_ip_host="http://ident.me"
|
|
|
|
|
|
|
|
|
2016-02-18 17:26:24 -07:00
|
|
|
# Song
|
|
|
|
|
|
|
|
# Print the Artist and Title on seperate lines
|
|
|
|
# --song_shorthand on/off
|
|
|
|
song_shorthand="off"
|
|
|
|
|
|
|
|
|
2016-01-30 04:41:58 -07:00
|
|
|
# Birthday
|
|
|
|
|
|
|
|
# Whether to show a long pretty output
|
|
|
|
# or a shortened one
|
2016-01-30 17:02:32 -07:00
|
|
|
# NOTE: Long pretty output doesn't work on OpenBSD or NetBSD.
|
2016-01-30 04:41:58 -07:00
|
|
|
# --birthday_shorthand on/off
|
|
|
|
birthday_shorthand="off"
|
|
|
|
|
|
|
|
# Whether to show the time in the output
|
|
|
|
# --birthday_time on/off
|
|
|
|
birthday_time="on"
|
|
|
|
|
2016-03-05 15:56:46 -07:00
|
|
|
# Date format to use when printing birthday
|
|
|
|
# --birthday_format "format"
|
|
|
|
birthday_format="+%a %d %b %Y %l:%M %p"
|
|
|
|
|
|
|
|
|
2016-01-29 08:14:29 -07:00
|
|
|
# }}}
|
|
|
|
|
|
|
|
# Text Colors {{{
|
|
|
|
|
|
|
|
|
2016-02-22 22:52:25 -07: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)
|
2016-04-23 19:10:57 -06:00
|
|
|
# You can also specify:
|
|
|
|
# fg (foreground color)
|
2016-02-22 22:52:25 -07:00
|
|
|
colors=(distro)
|
2016-01-29 08:14:29 -07:00
|
|
|
|
|
|
|
|
|
|
|
# }}}
|
|
|
|
|
|
|
|
# Text Options {{{
|
|
|
|
|
|
|
|
|
|
|
|
# Toggle line wrapping
|
|
|
|
# --line_wrap on/off
|
2016-03-29 18:40:38 -06:00
|
|
|
line_wrap="off"
|
2016-01-29 08:14:29 -07:00
|
|
|
|
|
|
|
# Toggle bold text
|
|
|
|
# --bold on/off
|
|
|
|
bold="on"
|
|
|
|
|
2016-02-05 16:25:12 -07:00
|
|
|
# Enable/Disable Underline
|
|
|
|
# --underline on/off
|
2016-04-01 19:52:21 -06:00
|
|
|
underline_enabled="on"
|
2016-02-05 16:25:12 -07:00
|
|
|
|
2016-01-29 08:14:29 -07:00
|
|
|
# Underline character
|
|
|
|
# --underline_char char
|
|
|
|
underline_char="-"
|
|
|
|
|
|
|
|
# Prompt height
|
|
|
|
# You should only have to change this if your
|
|
|
|
# prompt is greater than 2 lines high.
|
|
|
|
# --prompt_height num
|
|
|
|
prompt_height=1
|
|
|
|
|
|
|
|
|
2016-05-27 17:53:35 -06:00
|
|
|
# }}}
|
|
|
|
|
|
|
|
# Color Blocks {{{
|
|
|
|
|
|
|
|
|
|
|
|
# Color block range
|
|
|
|
# --block_range start end
|
|
|
|
start=0
|
|
|
|
end=7
|
|
|
|
|
|
|
|
# Toggle color blocks
|
|
|
|
# --color_blocks on/off
|
|
|
|
color_blocks="on"
|
|
|
|
|
|
|
|
# Color block width in spaces
|
|
|
|
# --block_width num
|
2016-05-28 03:51:21 -06:00
|
|
|
block_width=2
|
2016-05-27 17:53:35 -06:00
|
|
|
|
|
|
|
# Color block height in lines
|
|
|
|
# --block_height num
|
|
|
|
block_height=1
|
|
|
|
|
|
|
|
|
2016-03-02 16:12:21 -07:00
|
|
|
# }}}
|
|
|
|
|
|
|
|
# Progress Bars {{{
|
|
|
|
|
|
|
|
|
|
|
|
# Progress bar character
|
2016-04-24 02:30:57 -06:00
|
|
|
# --progress_char elapsed_char total_char
|
|
|
|
progress_char_elapsed="-"
|
|
|
|
progress_char_total="="
|
|
|
|
|
|
|
|
# Progress vorder
|
|
|
|
# --progress_border on/off
|
|
|
|
progress_border="on"
|
2016-03-02 16:12:21 -07:00
|
|
|
|
2016-03-02 16:37:18 -07:00
|
|
|
# Progress bar length in spaces
|
|
|
|
# Number of chars long to make the progress bars.
|
|
|
|
# --progress_length num
|
|
|
|
progress_length="15"
|
|
|
|
|
2016-03-02 16:12:21 -07:00
|
|
|
# Progress bar colors
|
2016-03-27 04:01:47 -06:00
|
|
|
# When set to distro, uses your distro's logo colors
|
|
|
|
# Takes: num, "distro"
|
2016-03-02 16:12:21 -07:00
|
|
|
# --progress_colors col col
|
2016-03-27 04:01:47 -06:00
|
|
|
progress_color_elapsed="distro"
|
|
|
|
progress_color_total="distro"
|
2016-03-02 16:12:21 -07:00
|
|
|
|
2016-03-12 14:37:33 -07: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.
|
|
|
|
#
|
|
|
|
# --memory_display bar/infobar/barinfo/off
|
|
|
|
# --battery_display bar/infobar/barinfo/off
|
|
|
|
# --disk_display bar/infobar/barinfo/off
|
|
|
|
memory_display="off"
|
|
|
|
battery_display="off"
|
|
|
|
disk_display="off"
|
|
|
|
|
2016-03-07 05:15:54 -07:00
|
|
|
|
2016-01-29 08:14:29 -07:00
|
|
|
# }}}
|
|
|
|
|
|
|
|
# Image Options {{{
|
|
|
|
|
|
|
|
|
|
|
|
# Image Source
|
2016-03-25 04:22:58 -06:00
|
|
|
# --image wall, ascii, /path/to/img, /path/to/dir/, off
|
2016-01-29 08:14:29 -07:00
|
|
|
image="wall"
|
|
|
|
|
|
|
|
# Thumbnail directory
|
2016-02-27 18:34:26 -07:00
|
|
|
thumbnail_dir="$HOME/.cache/thumbnails/neofetch"
|
2016-01-29 08:14:29 -07:00
|
|
|
|
|
|
|
# W3m-img path
|
|
|
|
# Some systems have this in another location
|
|
|
|
w3m_img_path="/usr/lib/w3m/w3mimgdisplay"
|
|
|
|
|
|
|
|
# Image position
|
|
|
|
# Only works with the w3m backend
|
|
|
|
# --image_position left/right
|
|
|
|
image_position="left"
|
|
|
|
|
|
|
|
# Crop mode
|
|
|
|
# --crop_mode normal/fit/fill
|
|
|
|
crop_mode="normal"
|
|
|
|
|
|
|
|
# Crop offset
|
|
|
|
# Only affects normal mode.
|
|
|
|
# --crop_offset northwest/north/northeast/west/center
|
|
|
|
# east/southwest/south/southeast
|
|
|
|
crop_offset="center"
|
|
|
|
|
2016-02-04 00:42:54 -07:00
|
|
|
# Image size
|
|
|
|
# The image is half the terminal width by default.
|
2016-05-26 23:23:02 -06:00
|
|
|
# --size auto, 00px, 00%, none
|
2016-02-18 15:54:16 -07:00
|
|
|
image_size="auto"
|
2016-02-04 00:42:54 -07:00
|
|
|
|
2016-01-29 08:14:29 -07:00
|
|
|
# Right gap between image and text
|
|
|
|
# --gap num
|
2016-03-09 20:36:49 -07:00
|
|
|
gap=2
|
2016-01-29 08:14:29 -07:00
|
|
|
|
|
|
|
# Image offsets
|
|
|
|
# --xoffset px
|
|
|
|
# --yoffset px
|
|
|
|
yoffset=0
|
|
|
|
xoffset=0
|
|
|
|
|
|
|
|
|
|
|
|
# }}}
|
|
|
|
|
|
|
|
# Ascii Options {{{
|
|
|
|
|
|
|
|
|
|
|
|
# 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-02-03 18:50:50 -07:00
|
|
|
# Ascii colors
|
2016-01-29 08:14:29 -07:00
|
|
|
# When this is set to distro it will use your
|
|
|
|
# ditro's colors to color the ascii.
|
2016-02-03 18:50:50 -07:00
|
|
|
# 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 08:14:29 -07:00
|
|
|
|
2016-02-27 19:07:10 -07: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 08:14:29 -07:00
|
|
|
|
2016-05-14 09:13:33 -06:00
|
|
|
# Bold ascii logo
|
|
|
|
# Whether or not to bold the ascii logo.
|
|
|
|
# --ascii_bold on/off
|
|
|
|
ascii_bold="off"
|
|
|
|
|
|
|
|
|
2016-01-29 08:14:29 -07:00
|
|
|
# }}}
|
|
|
|
|
|
|
|
# Scrot Options {{{
|
|
|
|
|
|
|
|
|
|
|
|
# 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 16:37:29 -06:00
|
|
|
scrot_dir="$HOME/Pictures/"
|
2016-01-29 08:14:29 -07:00
|
|
|
|
|
|
|
# Scrot filename
|
|
|
|
# What to name the screenshots
|
|
|
|
# --scrot_name str
|
2016-03-18 16:37:29 -06:00
|
|
|
scrot_name="neofetch-$(date +%F-%T).png"
|
2016-01-29 08:14:29 -07:00
|
|
|
|
|
|
|
|
2016-03-01 23:56:28 -07:00
|
|
|
# }}}
|
|
|
|
|
|
|
|
# Stdout options {{{
|
|
|
|
|
|
|
|
# Separator for stdout mode
|
|
|
|
# --stdout_separator string
|
|
|
|
stdout_separator=" "
|
|
|
|
|
2016-01-29 08:14:29 -07:00
|
|
|
# }}}
|
|
|
|
|
|
|
|
# Config Options {{{
|
|
|
|
|
|
|
|
|
2016-01-29 17:30:21 -07:00
|
|
|
# Enable/Disable config file
|
2016-01-31 14:00:20 -07:00
|
|
|
# --config off, none
|
2016-01-29 17:30:21 -07:00
|
|
|
config="on"
|
|
|
|
|
2016-01-29 17:09:36 -07:00
|
|
|
# Path to custom config file location
|
2016-01-29 08:14:29 -07:00
|
|
|
# --config path/to/config
|
2016-03-31 16:47:48 -06:00
|
|
|
config_file="${XDG_CONFIG_HOME:-${HOME}/.config}/neofetch/config"
|
2016-01-29 08:14:29 -07:00
|
|
|
|
|
|
|
|
|
|
|
# }}}
|