Advertisement
lauriset

config.conf

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