Another copy of my dotfiles. Because I don't completely trust GitHub.
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.

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