Dotfiles for different machines on different branches.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

761 lines
14 KiB

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