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.

734 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 "WM" wm
  11. info "CPU" cpu
  12. info "Memory" memory
  13. info "Resolution" resolution
  14. info "Uptime" uptime
  15. info "Install Date" install_date
  16. # not showing up
  17. info "Terminal Font" term_font
  18. info "WM Theme" wm_theme
  19. # info "GPU" gpu
  20. # info "Font" font
  21. # info "Users" users
  22. # info "Host" model
  23. # info "Kernel" kernel
  24. # info "Packages" packages
  25. # info "Shell" shell
  26. # info "DE" de
  27. # info "Theme" theme
  28. # info "Icons" icons
  29. # info "GPU Driver" gpu_driver # Linux only
  30. # info "CPU Usage" cpu_usage
  31. # info "Disk" disk
  32. # info "Battery" battery
  33. # info "Song" song
  34. # info "Local IP" local_ip
  35. # info "Public IP" public_ip
  36. # info "Locale" locale # This only works on glibc systems.
  37. info line_break
  38. info cols
  39. info line_break
  40. }
  41. # Kernel
  42. # Shorten the output of the kernel function.
  43. #
  44. # Default: 'on'
  45. # Values: 'on', 'off'
  46. # Flag: --kernel_shorthand
  47. # Supports: Everything except *BSDs (except PacBSD and PC-BSD)
  48. #
  49. # Example:
  50. # on: '4.8.9-1-ARCH'
  51. # off: 'Linux 4.8.9-1-ARCH'
  52. kernel_shorthand="on"
  53. # Distro
  54. # Shorten the output of the distro function
  55. #
  56. # Default: 'off'
  57. # Values: 'on', 'off', 'tiny'
  58. # Flag: --distro_shorthand
  59. # Supports: Everything except Windows and Haiku
  60. distro_shorthand="off"
  61. # Show/Hide OS Architecture.
  62. # Show 'x86_64', 'x86' and etc in 'Distro:' output.
  63. #
  64. # Default: 'on'
  65. # Values: 'on', 'off'
  66. # Flag: --os_arch
  67. #
  68. # Example:
  69. # on: 'Arch Linux x86_64'
  70. # off: 'Arch Linux'
  71. os_arch="off"
  72. # Uptime
  73. # Shorten the output of the uptime function
  74. #
  75. # Default: 'on'
  76. # Values: 'on', 'off', 'tiny'
  77. # Flag: --uptime_shorthand
  78. #
  79. # Example:
  80. # on: '2 days, 10 hours, 3 mins'
  81. # off: '2 days, 10 hours, 3 minutes'
  82. # tiny: '2d 10h 3m'
  83. uptime_shorthand="on"
  84. # Shell
  85. # Show the path to $SHELL
  86. #
  87. # Default: 'off'
  88. # Values: 'on', 'off'
  89. # Flag: --shell_path
  90. #
  91. # Example:
  92. # on: '/bin/bash'
  93. # off: 'bash'
  94. shell_path="off"
  95. # Show $SHELL version
  96. #
  97. # Default: 'on'
  98. # Values: 'on', 'off'
  99. # Flag: --shell_version
  100. #
  101. # Example:
  102. # on: 'bash 4.4.5'
  103. # off: 'bash'
  104. shell_version="on"
  105. # CPU
  106. # CPU speed type
  107. #
  108. # Default: 'bios_limit'
  109. # Values: 'scaling_cur_freq', 'scaling_min_freq', 'scaling_max_freq', 'bios_limit'.
  110. # Flag: --speed_type
  111. # Supports: Linux with 'cpufreq'
  112. # NOTE: Any file in '/sys/devices/system/cpu/cpu0/cpufreq' can be used as a value.
  113. speed_type="bios_limit"
  114. # CPU speed shorthand
  115. #
  116. # Default: 'off'
  117. # Values: 'on', 'off'.
  118. # Flag: --speed_shorthand.
  119. # NOTE: This flag is not supported in systems with CPU speed less than 1 GHz
  120. #
  121. # Example:
  122. # on: 'i7-6500U (4) @ 3.1GHz'
  123. # off: 'i7-6500U (4) @ 3.100GHz'
  124. speed_shorthand="on"
  125. # Enable/Disable CPU brand in output.
  126. #
  127. # Default: 'on'
  128. # Values: 'on', 'off'
  129. # Flag: --cpu_brand
  130. #
  131. # Example:
  132. # on: 'Intel i7-6500U'
  133. # off: 'i7-6500U (4)'
  134. cpu_brand="on"
  135. # CPU Speed
  136. # Hide/Show CPU speed.
  137. #
  138. # Default: 'on'
  139. # Values: 'on', 'off'
  140. # Flag: --cpu_speed
  141. #
  142. # Example:
  143. # on: 'Intel i7-6500U (4) @ 3.1GHz'
  144. # off: 'Intel i7-6500U (4)'
  145. cpu_speed="on"
  146. # CPU Cores
  147. # Display CPU cores in output
  148. #
  149. # Default: 'logical'
  150. # Values: 'logical', 'physical', 'off'
  151. # Flag: --cpu_cores
  152. # Support: 'physical' doesn't work on BSD.
  153. #
  154. # Example:
  155. # logical: 'Intel i7-6500U (4) @ 3.1GHz' (All virtual cores)
  156. # physical: 'Intel i7-6500U (2) @ 3.1GHz' (All physical cores)
  157. # off: 'Intel i7-6500U @ 3.1GHz'
  158. cpu_cores="logical"
  159. # CPU Temperature
  160. # Hide/Show CPU temperature.
  161. # Note the temperature is added to the regular CPU function.
  162. #
  163. # Default: 'off'
  164. # Values: 'C', 'F', 'off'
  165. # Flag: --cpu_temp
  166. # Supports: Linux, BSD
  167. # NOTE: For FreeBSD and NetBSD-based systems, you'll need to enable
  168. # coretemp kernel module. This only supports newer Intel processors.
  169. #
  170. # Example:
  171. # C: 'Intel i7-6500U (4) @ 3.1GHz [27.2°C]'
  172. # F: 'Intel i7-6500U (4) @ 3.1GHz [82.0°F]'
  173. # off: 'Intel i7-6500U (4) @ 3.1GHz'
  174. cpu_temp="off"
  175. # GPU
  176. # Enable/Disable GPU Brand
  177. #
  178. # Default: 'on'
  179. # Values: 'on', 'off'
  180. # Flag: --gpu_brand
  181. #
  182. # Example:
  183. # on: 'AMD HD 7950'
  184. # off: 'HD 7950'
  185. gpu_brand="on"
  186. # Which GPU to display
  187. #
  188. # Default: 'all'
  189. # Values: 'all', 'dedicated', 'integrated'
  190. # Flag: --gpu_type
  191. # Supports: Linux
  192. #
  193. # Example:
  194. # all:
  195. # GPU1: AMD HD 7950
  196. # GPU2: Intel Integrated Graphics
  197. #
  198. # dedicated:
  199. # GPU1: AMD HD 7950
  200. #
  201. # integrated:
  202. # GPU1: Intel Integrated Graphics
  203. gpu_type="all"
  204. # Resolution
  205. # Display refresh rate next to each monitor
  206. # Default: 'off'
  207. # Values: 'on', 'off'
  208. # Flag: --refresh_rate
  209. # Supports: Doesn't work on Windows.
  210. #
  211. # Example:
  212. # on: '1920x1080 @ 60Hz'
  213. # off: '1920x1080'
  214. refresh_rate="off"
  215. # Gtk Theme / Icons / Font
  216. # Shorten output of GTK Theme / Icons / Font
  217. #
  218. # Default: 'off'
  219. # Values: 'on', 'off'
  220. # Flag: --gtk_shorthand
  221. #
  222. # Example:
  223. # on: 'Numix, Adwaita'
  224. # off: 'Numix [GTK2], Adwaita [GTK3]'
  225. gtk_shorthand="off"
  226. # Enable/Disable gtk2 Theme / Icons / Font
  227. #
  228. # Default: 'on'
  229. # Values: 'on', 'off'
  230. # Flag: --gtk2
  231. #
  232. # Example:
  233. # on: 'Numix [GTK2], Adwaita [GTK3]'
  234. # off: 'Adwaita [GTK3]'
  235. gtk2="on"
  236. # Enable/Disable gtk3 Theme / Icons / Font
  237. #
  238. # Default: 'on'
  239. # Values: 'on', 'off'
  240. # Flag: --gtk3
  241. #
  242. # Example:
  243. # on: 'Numix [GTK2], Adwaita [GTK3]'
  244. # off: 'Numix [GTK2]'
  245. gtk3="on"
  246. # IP Address
  247. # Website to ping for the public IP
  248. #
  249. # Default: 'http://ident.me'
  250. # Values: 'url'
  251. # Flag: --ip_host
  252. public_ip_host="http://ident.me"
  253. # Disk
  254. # Which disks to display.
  255. # The values can be any /dev/sdXX, mount point or directory.
  256. # NOTE: By default we only show the disk info for '/'.
  257. #
  258. # Default: '/'
  259. # Values: '/', '/dev/sdXX', '/path/to/drive'.
  260. # Flag: --disk_show
  261. #
  262. # Example:
  263. # disk_show=('/' '/dev/sdb1'):
  264. # 'Disk (/): 74G / 118G (66%)'
  265. # 'Disk (/mnt/Videos): 823G / 893G (93%)'
  266. #
  267. # disk_show=('/'):
  268. # 'Disk (/): 74G / 118G (66%)'
  269. #
  270. disk_show=('/')
  271. # Disk subtitle.
  272. # What to append to the Disk subtitle.
  273. #
  274. # Default: 'mount'
  275. # Values: 'mount', 'name', 'dir'
  276. # Flag: --disk_subtitle
  277. #
  278. # Example:
  279. # name: 'Disk (/dev/sda1): 74G / 118G (66%)'
  280. # 'Disk (/dev/sdb2): 74G / 118G (66%)'
  281. #
  282. # mount: 'Disk (/): 74G / 118G (66%)'
  283. # 'Disk (/mnt/Local Disk): 74G / 118G (66%)'
  284. # 'Disk (/mnt/Videos): 74G / 118G (66%)'
  285. #
  286. # dir: 'Disk (/): 74G / 118G (66%)'
  287. # 'Disk (Local Disk): 74G / 118G (66%)'
  288. # 'Disk (Videos): 74G / 118G (66%)'
  289. disk_subtitle="mount"
  290. # Song
  291. # Print the Artist and Title on separate lines
  292. #
  293. # Default: 'off'
  294. # Values: 'on', 'off'
  295. # Flag: --song_shorthand
  296. #
  297. # Example:
  298. # on: 'Artist: The Fratellis'
  299. # 'Song: Chelsea Dagger'
  300. #
  301. # off: 'Song: The Fratellis - Chelsea Dagger'
  302. song_shorthand="off"
  303. # Install Date
  304. # Whether to show the time in the output
  305. #
  306. # Default: 'on'
  307. # Values: 'on', 'off'
  308. # Flag: --install_time
  309. #
  310. # Example:
  311. # on: 'Thu 14 Apr 2016 11:50 PM'
  312. # off: 'Thu 14 Apr 2016'
  313. install_time="off"
  314. # Set time format in the output
  315. #
  316. # Default: '24h'
  317. # Values: '12h', '24h'
  318. # Flag: --install_time_format
  319. #
  320. # Example:
  321. # 12h: 'Thu 14 Apr 2016 11:50 PM'
  322. # 24h: 'Thu 14 Apr 2016 23:50'
  323. install_time_format="24h"
  324. # Text Colors
  325. # Text Colors
  326. #
  327. # Default: 'distro'
  328. # Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num'
  329. # Flag: --colors
  330. #
  331. # Each number represents a different part of the text in
  332. # this order: 'title', '@', 'underline', 'subtitle', 'colon', 'info'
  333. #
  334. # Example:
  335. # colors=(distro) - Text is colored based on Distro colors.
  336. # colors=(4 6 1 8 8 6) - Text is colored in the order above.
  337. colors=(distro)
  338. # Text Options
  339. # Toggle bold text
  340. #
  341. # Default: 'on'
  342. # Values: 'on', 'off'
  343. # Flag: --bold
  344. bold="on"
  345. # Enable/Disable Underline
  346. #
  347. # Default: 'on'
  348. # Values: 'on', 'off'
  349. # Flag: --underline
  350. underline_enabled="on"
  351. # Underline character
  352. #
  353. # Default: '-'
  354. # Values: 'string'
  355. # Flag: --underline_char
  356. underline_char="-"
  357. # Color Blocks
  358. # Color block range
  359. # The range of colors to print.
  360. #
  361. # Default: '0', '7'
  362. # Values: 'num'
  363. # Flag: --block_range
  364. #
  365. # Example:
  366. #
  367. # Display colors 0-7 in the blocks. (8 colors)
  368. # neofetch --block_range 0 7
  369. #
  370. # Display colors 0-15 in the blocks. (16 colors)
  371. # neofetch --block_range 0 15
  372. block_range=(0 7)
  373. # Toggle color blocks
  374. #
  375. # Default: 'on'
  376. # Values: 'on', 'off'
  377. # Flag: --color_blocks
  378. color_blocks="on"
  379. # Color block width in spaces
  380. #
  381. # Default: '3'
  382. # Values: 'num'
  383. # Flag: --block_width
  384. block_width=3
  385. # Color block height in lines
  386. #
  387. # Default: '1'
  388. # Values: 'num'
  389. # Flag: --block_height
  390. block_height=1
  391. # Progress Bars
  392. # Bar characters
  393. #
  394. # Default: '-', '='
  395. # Values: 'string', 'string'
  396. # Flag: --bar_char
  397. #
  398. # Example:
  399. # neofetch --bar_char 'elapsed' 'total'
  400. # neofetch --bar_char '-' '='
  401. bar_char_elapsed="-"
  402. bar_char_total="="
  403. # Toggle Bar border
  404. #
  405. # Default: 'on'
  406. # Values: 'on', 'off'
  407. # Flag: --bar_border
  408. bar_border="on"
  409. # Progress bar length in spaces
  410. # Number of chars long to make the progress bars.
  411. #
  412. # Default: '15'
  413. # Values: 'num'
  414. # Flag: --bar_length
  415. bar_length=15
  416. # Progress bar colors
  417. # When set to distro, uses your distro's logo colors.
  418. #
  419. # Default: 'distro', 'distro'
  420. # Values: 'distro', 'num'
  421. # Flag: --bar_colors
  422. #
  423. # Example:
  424. # neofetch --bar_colors 3 4
  425. # neofetch --bar_colors distro 5
  426. bar_color_elapsed="distro"
  427. bar_color_total="distro"
  428. # Info display
  429. # Display a bar with the info.
  430. #
  431. # Default: 'off'
  432. # Values: 'bar', 'infobar', 'barinfo', 'off'
  433. # Flags: --cpu_display
  434. # --memory_display
  435. # --battery_display
  436. # --disk_display
  437. #
  438. # Example:
  439. # bar: '[---=======]'
  440. # infobar: 'info [---=======]'
  441. # barinfo: '[---=======] info'
  442. # off: 'info'
  443. cpu_display="off"
  444. memory_display="off"
  445. battery_display="off"
  446. disk_display="off"
  447. # Backend Settings
  448. # Image backend.
  449. #
  450. # Default: 'ascii'
  451. # Values: 'ascii', 'caca', 'catimg', 'jp2a', 'iterm2', 'off', 'tycat', 'w3m'
  452. # Flag: --backend
  453. image_backend="ascii"
  454. # Image Source
  455. #
  456. # Which image or ascii file to display.
  457. #
  458. # Default: 'auto'
  459. # Values: 'auto', 'ascii', 'wallpaper', '/path/to/img', '/path/to/ascii', '/path/to/dir/'
  460. # Flag: --source
  461. #
  462. # NOTE: 'auto' will pick the best image source for whatever image backend is used.
  463. # In ascii mode, distro ascii art will be used and in an image mode, your
  464. # wallpaper will be used.
  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"