Advertisement
Guest User

Untitled

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