Advertisement
fikriomar16

config

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