SHARE
TWEET

neofetch - config.conf

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