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.

750 lines
14 KiB

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