dotfiles

Dash Eclipse's dotfiles
git clone git://ezup.dev/dotfiles.git
Log | Files | Refs | README | LICENSE

config.conf (15232B)


      1# Neofetch config file
      2# https://github.com/dylanaraps/neofetch
      3
      4# See this wiki page for more info:
      5# https://github.com/dylanaraps/neofetch/wiki/Customizing-Info
      6print_info() {
      7    info title
      8    info underline
      9
     10    info "OS" distro
     11    info "Host" model
     12    info "Kernel" kernel
     13    info "Uptime" uptime
     14    info "Packages" packages
     15    info "Shell" shell
     16    info "Resolution" resolution
     17    info "DE" de
     18    info "WM" wm
     19    info "WM Theme" wm_theme
     20    info "Theme" theme
     21    info "Icons" icons
     22    info "Terminal" term
     23    info "Terminal Font" term_font
     24    #info "CPU" cpu
     25    info "GPU" gpu
     26    info "Memory" memory
     27
     28    # info "GPU Driver" gpu_driver  # Linux only
     29    # info "CPU Usage" cpu_usage
     30    # info "Disk" disk
     31    # info "Battery" battery
     32    # info "Font" font
     33    # info "Song" song
     34    # info "Local IP" local_ip
     35    # info "Public IP" public_ip
     36    # info "Users" users
     37    # info "Install Date" install_date
     38    # info "Locale" locale  # This only works on glibc systems.
     39
     40    info line_break
     41    info cols
     42    info line_break
     43}
     44
     45
     46# Kernel
     47
     48
     49# Shorten the output of the kernel function.
     50#
     51# Default:  'on'
     52# Values:   'on', 'off'
     53# Flag:     --kernel_shorthand
     54# Supports: Everything except *BSDs (except PacBSD and PC-BSD)
     55#
     56# Example:
     57# on:  '4.8.9-1-ARCH'
     58# off: 'Linux 4.8.9-1-ARCH'
     59kernel_shorthand="on"
     60
     61
     62# Distro
     63
     64
     65# Shorten the output of the distro function
     66#
     67# Default:  'off'
     68# Values:   'on', 'off', 'tiny'
     69# Flag:     --distro_shorthand
     70# Supports: Everything except Windows and Haiku
     71distro_shorthand="off"
     72
     73# Show/Hide OS Architecture.
     74# Show 'x86_64', 'x86' and etc in 'Distro:' output.
     75#
     76# Default: 'on'
     77# Values:  'on', 'off'
     78# Flag:    --os_arch
     79#
     80# Example:
     81# on:  'Arch Linux x86_64'
     82# off: 'Arch Linux'
     83os_arch="on"
     84
     85
     86# Uptime
     87
     88
     89# Shorten the output of the uptime function
     90#
     91# Default: 'on'
     92# Values:  'on', 'off', 'tiny'
     93# Flag:    --uptime_shorthand
     94#
     95# Example:
     96# on:   '2 days, 10 hours, 3 mins'
     97# off:  '2 days, 10 hours, 3 minutes'
     98# tiny: '2d 10h 3m'
     99uptime_shorthand="on"
    100
    101
    102# Shell
    103
    104
    105# Show the path to $SHELL
    106#
    107# Default: 'off'
    108# Values:  'on', 'off'
    109# Flag:    --shell_path
    110#
    111# Example:
    112# on:  '/bin/bash'
    113# off: 'bash'
    114shell_path="off"
    115
    116# Show $SHELL version
    117#
    118# Default: 'on'
    119# Values:  'on', 'off'
    120# Flag:    --shell_version
    121#
    122# Example:
    123# on:  'bash 4.4.5'
    124# off: 'bash'
    125shell_version="on"
    126
    127
    128# CPU
    129
    130
    131# CPU speed type
    132#
    133# Default: 'bios_limit'
    134# Values: 'scaling_cur_freq', 'scaling_min_freq', 'scaling_max_freq', 'bios_limit'.
    135# Flag:    --speed_type
    136# Supports: Linux with 'cpufreq'
    137# NOTE: Any file in '/sys/devices/system/cpu/cpu0/cpufreq' can be used as a value.
    138speed_type="bios_limit"
    139
    140# CPU speed shorthand
    141#
    142# Default: 'off'
    143# Values: 'on', 'off'.
    144# Flag:    --speed_shorthand.
    145# NOTE: This flag is not supported in systems with CPU speed less than 1 GHz
    146#
    147# Example:
    148# on:    'i7-6500U (4) @ 3.1GHz'
    149# off:   'i7-6500U (4) @ 3.100GHz'
    150speed_shorthand="off"
    151
    152# Enable/Disable CPU brand in output.
    153#
    154# Default: 'on'
    155# Values:  'on', 'off'
    156# Flag:    --cpu_brand
    157#
    158# Example:
    159# on:   'Intel i7-6500U'
    160# off:  'i7-6500U (4)'
    161cpu_brand="on"
    162
    163# CPU Speed
    164# Hide/Show CPU speed.
    165#
    166# Default: 'on'
    167# Values:  'on', 'off'
    168# Flag:    --cpu_speed
    169#
    170# Example:
    171# on:  'Intel i7-6500U (4) @ 3.1GHz'
    172# off: 'Intel i7-6500U (4)'
    173cpu_speed="on"
    174
    175# CPU Cores
    176# Display CPU cores in output
    177#
    178# Default: 'logical'
    179# Values:  'logical', 'physical', 'off'
    180# Flag:    --cpu_cores
    181# Support: 'physical' doesn't work on BSD.
    182#
    183# Example:
    184# logical:  'Intel i7-6500U (4) @ 3.1GHz' (All virtual cores)
    185# physical: 'Intel i7-6500U (2) @ 3.1GHz' (All physical cores)
    186# off:      'Intel i7-6500U @ 3.1GHz'
    187cpu_cores="logical"
    188
    189# CPU Temperature
    190# Hide/Show CPU temperature.
    191# Note the temperature is added to the regular CPU function.
    192#
    193# Default: 'off'
    194# Values:  'C', 'F', 'off'
    195# Flag:    --cpu_temp
    196# Supports: Linux, BSD
    197# NOTE: For FreeBSD and NetBSD-based systems, you'll need to enable
    198#       coretemp kernel module. This only supports newer Intel processors.
    199#
    200# Example:
    201# C:   'Intel i7-6500U (4) @ 3.1GHz [27.2°C]'
    202# F:   'Intel i7-6500U (4) @ 3.1GHz [82.0°F]'
    203# off: 'Intel i7-6500U (4) @ 3.1GHz'
    204cpu_temp="off"
    205
    206
    207# GPU
    208
    209
    210# Enable/Disable GPU Brand
    211#
    212# Default: 'on'
    213# Values:  'on', 'off'
    214# Flag:    --gpu_brand
    215#
    216# Example:
    217# on:  'AMD HD 7950'
    218# off: 'HD 7950'
    219gpu_brand="on"
    220
    221# Which GPU to display
    222#
    223# Default: 'all'
    224# Values:  'all', 'dedicated', 'integrated'
    225# Flag:    --gpu_type
    226# Supports: Linux
    227#
    228# Example:
    229# all:
    230#   GPU1: AMD HD 7950
    231#   GPU2: Intel Integrated Graphics
    232#
    233# dedicated:
    234#   GPU1: AMD HD 7950
    235#
    236# integrated:
    237#   GPU1: Intel Integrated Graphics
    238gpu_type="all"
    239
    240
    241# Resolution
    242
    243
    244# Display refresh rate next to each monitor
    245# Default: 'off'
    246# Values:  'on', 'off'
    247# Flag:    --refresh_rate
    248# Supports: Doesn't work on Windows.
    249#
    250# Example:
    251# on:  '1920x1080 @ 60Hz'
    252# off: '1920x1080'
    253refresh_rate="off"
    254
    255
    256# Gtk Theme / Icons / Font
    257
    258
    259# Shorten output of GTK Theme / Icons / Font
    260#
    261# Default: 'off'
    262# Values:  'on', 'off'
    263# Flag:    --gtk_shorthand
    264#
    265# Example:
    266# on:  'Numix, Adwaita'
    267# off: 'Numix [GTK2], Adwaita [GTK3]'
    268gtk_shorthand="off"
    269
    270
    271# Enable/Disable gtk2 Theme / Icons / Font
    272#
    273# Default: 'on'
    274# Values:  'on', 'off'
    275# Flag:    --gtk2
    276#
    277# Example:
    278# on:  'Numix [GTK2], Adwaita [GTK3]'
    279# off: 'Adwaita [GTK3]'
    280gtk2="on"
    281
    282# Enable/Disable gtk3 Theme / Icons / Font
    283#
    284# Default: 'on'
    285# Values:  'on', 'off'
    286# Flag:    --gtk3
    287#
    288# Example:
    289# on:  'Numix [GTK2], Adwaita [GTK3]'
    290# off: 'Numix [GTK2]'
    291gtk3="on"
    292
    293
    294# IP Address
    295
    296
    297# Website to ping for the public IP
    298#
    299# Default: 'http://ident.me'
    300# Values:  'url'
    301# Flag:    --ip_host
    302public_ip_host="http://ident.me"
    303
    304
    305# Disk
    306
    307
    308# Which disks to display.
    309# The values can be any /dev/sdXX, mount point or directory.
    310# NOTE: By default we only show the disk info for '/'.
    311#
    312# Default: '/'
    313# Values:  '/', '/dev/sdXX', '/path/to/drive'.
    314# Flag:    --disk_show
    315#
    316# Example:
    317# disk_show=('/' '/dev/sdb1'):
    318#      'Disk (/): 74G / 118G (66%)'
    319#      'Disk (/mnt/Videos): 823G / 893G (93%)'
    320#
    321# disk_show=('/'):
    322#      'Disk (/): 74G / 118G (66%)'
    323#
    324disk_show=('/')
    325
    326# Disk subtitle.
    327# What to append to the Disk subtitle.
    328#
    329# Default: 'mount'
    330# Values:  'mount', 'name', 'dir'
    331# Flag:    --disk_subtitle
    332#
    333# Example:
    334# name:   'Disk (/dev/sda1): 74G / 118G (66%)'
    335#         'Disk (/dev/sdb2): 74G / 118G (66%)'
    336#
    337# mount:  'Disk (/): 74G / 118G (66%)'
    338#         'Disk (/mnt/Local Disk): 74G / 118G (66%)'
    339#         'Disk (/mnt/Videos): 74G / 118G (66%)'
    340#
    341# dir:    'Disk (/): 74G / 118G (66%)'
    342#         'Disk (Local Disk): 74G / 118G (66%)'
    343#         'Disk (Videos): 74G / 118G (66%)'
    344disk_subtitle="mount"
    345
    346
    347# Song
    348
    349
    350# Print the Artist and Title on separate lines
    351#
    352# Default: 'off'
    353# Values:  'on', 'off'
    354# Flag:    --song_shorthand
    355#
    356# Example:
    357# on:  'Artist: The Fratellis'
    358#      'Song: Chelsea Dagger'
    359#
    360# off: 'Song: The Fratellis - Chelsea Dagger'
    361song_shorthand="off"
    362
    363
    364# Install Date
    365
    366
    367# Whether to show the time in the output
    368#
    369# Default:  'on'
    370# Values:   'on', 'off'
    371# Flag:     --install_time
    372#
    373# Example:
    374# on:  'Thu 14 Apr 2016 11:50 PM'
    375# off: 'Thu 14 Apr 2016'
    376install_time="on"
    377
    378# Set time format in the output
    379#
    380# Default: '24h'
    381# Values:  '12h', '24h'
    382# Flag:    --install_time_format
    383#
    384# Example:
    385# 12h: 'Thu 14 Apr 2016 11:50 PM'
    386# 24h: 'Thu 14 Apr 2016 23:50'
    387install_time_format="12h"
    388
    389
    390# Text Colors
    391
    392
    393# Text Colors
    394#
    395# Default:  'distro'
    396# Values:   'distro', 'num' 'num' 'num' 'num' 'num' 'num'
    397# Flag:     --colors
    398#
    399# Each number represents a different part of the text in
    400# this order: 'title', '@', 'underline', 'subtitle', 'colon', 'info'
    401#
    402# Example:
    403# colors=(distro)      - Text is colored based on Distro colors.
    404# colors=(4 6 1 8 8 6) - Text is colored in the order above.
    405colors=(distro)
    406
    407
    408# Text Options
    409
    410
    411# Toggle bold text
    412#
    413# Default:  'on'
    414# Values:   'on', 'off'
    415# Flag:     --bold
    416bold="on"
    417
    418# Enable/Disable Underline
    419#
    420# Default:  'on'
    421# Values:   'on', 'off'
    422# Flag:     --underline
    423underline_enabled="on"
    424
    425# Underline character
    426#
    427# Default:  '-'
    428# Values:   'string'
    429# Flag:     --underline_char
    430underline_char="-"
    431
    432
    433# Color Blocks
    434
    435
    436# Color block range
    437# The range of colors to print.
    438#
    439# Default:  '0', '7'
    440# Values:   'num'
    441# Flag:     --block_range
    442#
    443# Example:
    444#
    445# Display colors 0-7 in the blocks.  (8 colors)
    446# neofetch --block_range 0 7
    447#
    448# Display colors 0-15 in the blocks. (16 colors)
    449# neofetch --block_range 0 15
    450block_range=(0 7)
    451
    452# Toggle color blocks
    453#
    454# Default:  'on'
    455# Values:   'on', 'off'
    456# Flag:     --color_blocks
    457color_blocks="on"
    458
    459# Color block width in spaces
    460#
    461# Default:  '3'
    462# Values:   'num'
    463# Flag:     --block_width
    464block_width=3
    465
    466# Color block height in lines
    467#
    468# Default:  '1'
    469# Values:   'num'
    470# Flag:     --block_height
    471block_height=1
    472
    473
    474# Progress Bars
    475
    476
    477# Bar characters
    478#
    479# Default:  '-', '='
    480# Values:   'string', 'string'
    481# Flag:     --bar_char
    482#
    483# Example:
    484# neofetch --bar_char 'elapsed' 'total'
    485# neofetch --bar_char '-' '='
    486bar_char_elapsed="-"
    487bar_char_total="="
    488
    489# Toggle Bar border
    490#
    491# Default:  'on'
    492# Values:   'on', 'off'
    493# Flag:     --bar_border
    494bar_border="on"
    495
    496# Progress bar length in spaces
    497# Number of chars long to make the progress bars.
    498#
    499# Default:  '15'
    500# Values:   'num'
    501# Flag:     --bar_length
    502bar_length=15
    503
    504# Progress bar colors
    505# When set to distro, uses your distro's logo colors.
    506#
    507# Default:  'distro', 'distro'
    508# Values:   'distro', 'num'
    509# Flag:     --bar_colors
    510#
    511# Example:
    512# neofetch --bar_colors 3 4
    513# neofetch --bar_colors distro 5
    514bar_color_elapsed="distro"
    515bar_color_total="distro"
    516
    517
    518# Info display
    519# Display a bar with the info.
    520#
    521# Default: 'off'
    522# Values:  'bar', 'infobar', 'barinfo', 'off'
    523# Flags:   --cpu_display
    524#          --memory_display
    525#          --battery_display
    526#          --disk_display
    527#
    528# Example:
    529# bar:     '[---=======]'
    530# infobar: 'info [---=======]'
    531# barinfo: '[---=======] info'
    532# off:     'info'
    533cpu_display="off"
    534memory_display="off"
    535battery_display="off"
    536disk_display="off"
    537
    538
    539# Backend Settings
    540
    541
    542# Image backend.
    543#
    544# Default:  'ascii'
    545# Values:   'ascii', 'caca', 'catimg', 'jp2a', 'iterm2', 'off', 'tycat', 'w3m'
    546# Flag:     --backend
    547image_backend="ascii"
    548
    549# Image Source
    550#
    551# Which image or ascii file to display.
    552#
    553# Default:  'auto'
    554# Values:   'auto', 'ascii', 'wallpaper', '/path/to/img', '/path/to/ascii', '/path/to/dir/'
    555# Flag:     --source
    556#
    557# NOTE: 'auto' will pick the best image source for whatever image backend is used.
    558#       In ascii mode, distro ascii art will be used and in an image mode, your
    559#       wallpaper will be used.
    560image_source="auto"
    561
    562
    563# Ascii Options
    564
    565
    566# Ascii distro
    567# Which distro's ascii art to display.
    568#
    569# Default: 'auto'
    570# Values:  'auto', 'distro_name'
    571# Flag:    --ascii_distro
    572#
    573# NOTE: Arch and Ubuntu have 'old' logo variants.
    574#       Change this to 'arch_old' or 'ubuntu_old' to use the old logos.
    575# NOTE: Ubuntu has flavor variants.
    576#       Change this to 'Lubuntu', 'Xubuntu', 'Ubuntu-GNOME' or 'Ubuntu-Budgie' to use the flavors.
    577# NOTE: Arch, Crux and Gentoo have a smaller logo variant.
    578#       Change this to 'arch_small', 'crux_small' or 'gentoo_small' to use the small logos.
    579ascii_distro="auto"
    580
    581# Ascii Colors
    582#
    583# Default:  'distro'
    584# Values:   'distro', 'num' 'num' 'num' 'num' 'num' 'num'
    585# Flag:     --ascii_colors
    586#
    587# Example:
    588# ascii_colors=(distro)      - Ascii is colored based on Distro colors.
    589# ascii_colors=(4 6 1 8 8 6) - Ascii is colored using these colors.
    590ascii_colors=(distro)
    591
    592# Bold ascii logo
    593# Whether or not to bold the ascii logo.
    594#
    595# Default: 'on'
    596# Values:  'on', 'off'
    597# Flag:    --ascii_bold
    598ascii_bold="on"
    599
    600
    601# Image Options
    602
    603
    604# Image loop
    605# Setting this to on will make neofetch redraw the image constantly until
    606# Ctrl+C is pressed. This fixes display issues in some terminal emulators.
    607#
    608# Default:  'off'
    609# Values:   'on', 'off'
    610# Flag:     --loop
    611image_loop="off"
    612
    613# Thumbnail directory
    614#
    615# Default: '~/.cache/thumbnails/neofetch'
    616# Values:  'dir'
    617thumbnail_dir="${XDG_CACHE_HOME:-${HOME}/.cache}/thumbnails/neofetch"
    618
    619# Crop mode
    620#
    621# Default:  'normal'
    622# Values:   'normal', 'fit', 'fill'
    623# Flag:     --crop_mode
    624#
    625# See this wiki page to learn about the fit and fill options.
    626# https://github.com/dylanaraps/neofetch/wiki/What-is-Waifu-Crop%3F
    627crop_mode="normal"
    628
    629# Crop offset
    630# Note: Only affects 'normal' crop mode.
    631#
    632# Default:  'center'
    633# Values:   'northwest', 'north', 'northeast', 'west', 'center'
    634#           'east', 'southwest', 'south', 'southeast'
    635# Flag:     --crop_offset
    636crop_offset="center"
    637
    638# Image size
    639# The image is half the terminal width by default.
    640#
    641# Default: 'auto'
    642# Values:  'auto', '00px', '00%', 'none'
    643# Flags:   --image_size
    644#          --size
    645image_size="auto"
    646
    647# Ggap between image and text
    648#
    649# Default: '3'
    650# Values:  'num', '-num'
    651# Flag:    --gap
    652gap=3
    653
    654# Image offsets
    655# Only works with the w3m backend.
    656#
    657# Default: '0'
    658# Values:  'px'
    659# Flags:   --xoffset
    660#          --yoffset
    661yoffset=0
    662xoffset=0
    663
    664# Image background color
    665# Only works with the w3m backend.
    666#
    667# Default: ''
    668# Values:  'color', 'blue'
    669# Flag:    --bg_color
    670background_color=
    671
    672
    673# Scrot Options
    674
    675
    676# Whether or not to always take a screenshot
    677# You can manually take a screenshot with "--scrot" or "-s"
    678#
    679# Default: 'off'
    680# Values:  'on', 'off'
    681# Flags:   --scrot
    682#          -s
    683scrot="off"
    684
    685# Screenshot Program
    686# Neofetch will automatically use whatever screenshot tool
    687# is installed on your system.
    688#
    689# If 'neofetch -v' says that it couldn't find a screenshot
    690# tool or you're using a custom tool then you can change
    691# the option below to a custom command.
    692#
    693# Default: 'auto'
    694# Values:  'auto' 'cmd -flags'
    695# Flag:    --scrot_cmd
    696scrot_cmd="auto"
    697
    698# Screenshot Filename
    699# What to name the screenshots
    700#
    701# Default: 'neofetch-$(date +%F-%I-%M-%S-${RANDOM}).png'
    702# Values:  'string'
    703# Flag:    --scrot_name
    704scrot_name="neofetch-$(date +%F-%I-%M-%S-${RANDOM}).png"
    705
    706# Image upload host
    707# Where to upload the image.
    708#
    709# Default: 'teknik'
    710# Values:  'imgur', 'teknik'
    711# Flag:    --image_host
    712#
    713# NOTE: If you'd like another image host to be added to Neofetch.
    714#       Open an issue on github.
    715image_host="teknik"
    716
    717
    718# Misc Options
    719
    720# Stdout mode
    721# Turn off all colors and disables image backend (ASCII/Image).
    722# Useful for piping into another command.
    723# Default: 'off'
    724# Values: 'on', 'off'
    725stdout="off"
    726
    727# Config version.
    728#
    729# NOTE: Don't change this value, neofetch reads this to determine
    730# how to handle backwards compatibility.
    731config_version="3.3.0"
    732
    733USER='User'
    734HOSTNAME='DESKTOP'
    735
    736get_model() {
    737	model='Hot Potato'
    738}
    739get_distro_ascii() {
    740            set_colors 6 6 7 1
    741            read -rd '' ascii_data <<'EOF'
    742${c1}.`                                 `/
    743 `++:.                           `-/+/
    744  `+sso+:-`                 `.-/+oso:
    745   `/ossssso+/:-        -:/+osssso+-
    746     /ossssssss/        +ssssooo/-
    747      :osssssss/        osssso+++.
    748       -osssssso.      :ssssssso.
    749${c2}        .oossssso-````/ossssss+`
    750${c2}         ${c1}./${c2}ooosssso++osssssso${c1}+`
    751          `/+++o${c2}oooooooo${c1}oooo/`
    752           `/++++++++++++++:
    753            `/++++/+++++++:
    754             `/:-:++oooo+:
    755               -+oooooo+:
    756               `+oooooo:
    757                `+oooo:
    758                 `ooo/
    759                  .o+`
    760${c1}                   -`
    761EOF
    762}