Advertisement
Guest User

Untitled

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