Dotfiles for my tiling window manager + terminal workflow.
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.

733 lines
14 KiB

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