Advertisement
Guest User

Untitled

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