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.

754 lines
14 KiB

6 years ago
6 years ago
6 years ago
6 years ago
3 months 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' '/mnt/linux-files' )
  277. disk_show=('/dev/sdc1' '/dev/sdc3' '/dev/sdd1' )
  278. # Disk subtitle.
  279. # What to append to the Disk subtitle.
  280. #
  281. # Default: 'mount'
  282. # Values: 'mount', 'name', 'dir'
  283. # Flag: --disk_subtitle
  284. #
  285. # Example:
  286. # name: 'Disk (/dev/sda1): 74G / 118G (66%)'
  287. # 'Disk (/dev/sdb2): 74G / 118G (66%)'
  288. #
  289. # mount: 'Disk (/): 74G / 118G (66%)'
  290. # 'Disk (/mnt/Local Disk): 74G / 118G (66%)'
  291. # 'Disk (/mnt/Videos): 74G / 118G (66%)'
  292. #
  293. # dir: 'Disk (/): 74G / 118G (66%)'
  294. # 'Disk (Local Disk): 74G / 118G (66%)'
  295. # 'Disk (Videos): 74G / 118G (66%)'
  296. disk_subtitle="mount"
  297. # Song
  298. # Print the Artist and Title on separate lines
  299. #
  300. # Default: 'off'
  301. # Values: 'on', 'off'
  302. # Flag: --song_shorthand
  303. #
  304. # Example:
  305. # on: 'Artist: The Fratellis'
  306. # 'Song: Chelsea Dagger'
  307. #
  308. # off: 'Song: The Fratellis - Chelsea Dagger'
  309. song_shorthand="off"
  310. # Install Date
  311. # Whether to show the time in the output
  312. #
  313. # Default: 'on'
  314. # Values: 'on', 'off'
  315. # Flag: --install_time
  316. #
  317. # Example:
  318. # on: 'Thu 14 Apr 2016 11:50 PM'
  319. # off: 'Thu 14 Apr 2016'
  320. install_time="off"
  321. # Set time format in the output
  322. #
  323. # Default: '24h'
  324. # Values: '12h', '24h'
  325. # Flag: --install_time_format
  326. #
  327. # Example:
  328. # 12h: 'Thu 14 Apr 2016 11:50 PM'
  329. # 24h: 'Thu 14 Apr 2016 23:50'
  330. install_time_format="24h"
  331. # Text Colors
  332. # Text Colors
  333. #
  334. # Default: 'distro'
  335. # Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num'
  336. # Flag: --colors
  337. #
  338. # Each number represents a different part of the text in
  339. # this order: 'title', '@', 'underline', 'subtitle', 'colon', 'info'
  340. #
  341. # Example:
  342. # colors=(distro) - Text is colored based on Distro colors.
  343. # colors=(4 6 1 8 8 6) - Text is colored in the order above.
  344. colors=(distro)
  345. # Text Options
  346. # Toggle bold text
  347. #
  348. # Default: 'on'
  349. # Values: 'on', 'off'
  350. # Flag: --bold
  351. bold="on"
  352. # Enable/Disable Underline
  353. #
  354. # Default: 'on'
  355. # Values: 'on', 'off'
  356. # Flag: --underline
  357. underline_enabled="on"
  358. # Underline character
  359. #
  360. # Default: '-'
  361. # Values: 'string'
  362. # Flag: --underline_char
  363. underline_char="-"
  364. # Color Blocks
  365. # Color block range
  366. # The range of colors to print.
  367. #
  368. # Default: '0', '7'
  369. # Values: 'num'
  370. # Flag: --block_range
  371. #
  372. # Example:
  373. #
  374. # Display colors 0-7 in the blocks. (8 colors)
  375. # neofetch --block_range 0 7
  376. #
  377. # Display colors 0-15 in the blocks. (16 colors)
  378. # neofetch --block_range 0 15
  379. block_range=(0 7)
  380. # Toggle color blocks
  381. #
  382. # Default: 'on'
  383. # Values: 'on', 'off'
  384. # Flag: --color_blocks
  385. color_blocks="on"
  386. # Color block width in spaces
  387. #
  388. # Default: '3'
  389. # Values: 'num'
  390. # Flag: --block_width
  391. block_width=3
  392. # Color block height in lines
  393. #
  394. # Default: '1'
  395. # Values: 'num'
  396. # Flag: --block_height
  397. block_height=1
  398. # Progress Bars
  399. # Bar characters
  400. #
  401. # Default: '-', '='
  402. # Values: 'string', 'string'
  403. # Flag: --bar_char
  404. #
  405. # Example:
  406. # neofetch --bar_char 'elapsed' 'total'
  407. # neofetch --bar_char '-' '='
  408. bar_char_elapsed="-"
  409. bar_char_total="="
  410. # Toggle Bar border
  411. #
  412. # Default: 'on'
  413. # Values: 'on', 'off'
  414. # Flag: --bar_border
  415. bar_border="on"
  416. # Progress bar length in spaces
  417. # Number of chars long to make the progress bars.
  418. #
  419. # Default: '15'
  420. # Values: 'num'
  421. # Flag: --bar_length
  422. bar_length=15
  423. # Progress bar colors
  424. # When set to distro, uses your distro's logo colors.
  425. #
  426. # Default: 'distro', 'distro'
  427. # Values: 'distro', 'num'
  428. # Flag: --bar_colors
  429. #
  430. # Example:
  431. # neofetch --bar_colors 3 4
  432. # neofetch --bar_colors distro 5
  433. bar_color_elapsed="distro"
  434. bar_color_total="distro"
  435. # Info display
  436. # Display a bar with the info.
  437. #
  438. # Default: 'off'
  439. # Values: 'bar', 'infobar', 'barinfo', 'off'
  440. # Flags: --cpu_display
  441. # --memory_display
  442. # --battery_display
  443. # --disk_display
  444. #
  445. # Example:
  446. # bar: '[---=======]'
  447. # infobar: 'info [---=======]'
  448. # barinfo: '[---=======] info'
  449. # off: 'info'
  450. cpu_display="off"
  451. memory_display="off"
  452. # cpu_display="barinfo"
  453. # memory_display="barinfo"
  454. battery_display="off"
  455. disk_display="off"
  456. # disk_display="barinfo"
  457. # Backend Settings
  458. # Image backend.
  459. #
  460. # Default: 'ascii'
  461. # Values: 'ascii', 'caca', 'catimg', 'jp2a', 'iterm2', 'off', 'tycat', 'w3m'
  462. # Flag: --backend
  463. image_backend="ascii"
  464. # image_backend="jp2a"
  465. # Image Source
  466. #
  467. # Which image or ascii file to display.
  468. #
  469. # Default: 'auto'
  470. # Values: 'auto', 'ascii', 'wallpaper', '/path/to/img', '/path/to/ascii', '/path/to/dir/'
  471. # Flag: --source
  472. #
  473. # NOTE: 'auto' will pick the best image source for whatever image backend is used.
  474. # In ascii mode, distro ascii art will be used and in an image mode, your
  475. # wallpaper will be used.
  476. image_source="auto"
  477. # image_source="$HOME/Downloads/arch.png"
  478. # Ascii Options
  479. # Ascii distro
  480. # Which distro's ascii art to display.
  481. #
  482. # Default: 'auto'
  483. # Values: 'auto', 'distro_name'
  484. # Flag: --ascii_distro
  485. #
  486. # NOTE: Arch and Ubuntu have 'old' logo variants.
  487. # Change this to 'arch_old' or 'ubuntu_old' to use the old logos.
  488. # NOTE: Ubuntu has flavor variants.
  489. # Change this to 'Lubuntu', 'Xubuntu', 'Ubuntu-GNOME' or 'Ubuntu-Budgie' to use the flavors.
  490. # NOTE: Arch, Crux and Gentoo have a smaller logo variant.
  491. # Change this to 'arch_small', 'crux_small' or 'gentoo_small' to use the small logos.
  492. ascii_distro="auto"
  493. # Ascii Colors
  494. #
  495. # Default: 'distro'
  496. # Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num'
  497. # Flag: --ascii_colors
  498. #
  499. # Example:
  500. # ascii_colors=(distro) - Ascii is colored based on Distro colors.
  501. # ascii_colors=(4 6 1 8 8 6) - Ascii is colored using these colors.
  502. ascii_colors=(distro)
  503. # Bold ascii logo
  504. # Whether or not to bold the ascii logo.
  505. #
  506. # Default: 'on'
  507. # Values: 'on', 'off'
  508. # Flag: --ascii_bold
  509. ascii_bold="on"
  510. # Image Options
  511. # Image loop
  512. # Setting this to on will make neofetch redraw the image constantly until
  513. # Ctrl+C is pressed. This fixes display issues in some terminal emulators.
  514. #
  515. # Default: 'off'
  516. # Values: 'on', 'off'
  517. # Flag: --loop
  518. image_loop="off"
  519. # Thumbnail directory
  520. #
  521. # Default: '~/.cache/thumbnails/neofetch'
  522. # Values: 'dir'
  523. thumbnail_dir="${XDG_CACHE_HOME:-${HOME}/.cache}/thumbnails/neofetch"
  524. # Crop mode
  525. #
  526. # Default: 'normal'
  527. # Values: 'normal', 'fit', 'fill'
  528. # Flag: --crop_mode
  529. #
  530. # See this wiki page to learn about the fit and fill options.
  531. # https://github.com/dylanaraps/neofetch/wiki/What-is-Waifu-Crop%3F
  532. crop_mode="normal"
  533. # Crop offset
  534. # Note: Only affects 'normal' crop mode.
  535. #
  536. # Default: 'center'
  537. # Values: 'northwest', 'north', 'northeast', 'west', 'center'
  538. # 'east', 'southwest', 'south', 'southeast'
  539. # Flag: --crop_offset
  540. crop_offset="center"
  541. # Image size
  542. # The image is half the terminal width by default.
  543. #
  544. # Default: 'auto'
  545. # Values: 'auto', '00px', '00%', 'none'
  546. # Flags: --image_size
  547. # --size
  548. image_size="auto"
  549. # Ggap between image and text
  550. #
  551. # Default: '3'
  552. # Values: 'num', '-num'
  553. # Flag: --gap
  554. gap=3
  555. # Image offsets
  556. # Only works with the w3m backend.
  557. #
  558. # Default: '0'
  559. # Values: 'px'
  560. # Flags: --xoffset
  561. # --yoffset
  562. yoffset=0
  563. xoffset=0
  564. # Image background color
  565. # Only works with the w3m backend.
  566. #
  567. # Default: ''
  568. # Values: 'color', 'blue'
  569. # Flag: --bg_color
  570. background_color=
  571. # Scrot Options
  572. # Whether or not to always take a screenshot
  573. # You can manually take a screenshot with "--scrot" or "-s"
  574. #
  575. # Default: 'off'
  576. # Values: 'on', 'off'
  577. # Flags: --scrot
  578. # -s
  579. scrot="off"
  580. # Screenshot Program
  581. # Neofetch will automatically use whatever screenshot tool
  582. # is installed on your system.
  583. #
  584. # If 'neofetch -v' says that it couldn't find a screenshot
  585. # tool or you're using a custom tool then you can change
  586. # the option below to a custom command.
  587. #
  588. # Default: 'auto'
  589. # Values: 'auto' 'cmd -flags'
  590. # Flag: --scrot_cmd
  591. scrot_cmd="auto"
  592. # Screenshot Filename
  593. # What to name the screenshots
  594. #
  595. # Default: 'neofetch-$(date +%F-%I-%M-%S-${RANDOM}).png'
  596. # Values: 'string'
  597. # Flag: --scrot_name
  598. scrot_name="neofetch-$(date +%F-%I-%M-%S-${RANDOM}).png"
  599. # Image upload host
  600. # Where to upload the image.
  601. #
  602. # Default: 'teknik'
  603. # Values: 'imgur', 'teknik'
  604. # Flag: --image_host
  605. #
  606. # NOTE: If you'd like another image host to be added to Neofetch.
  607. # Open an issue on github.
  608. image_host="teknik"
  609. # Misc Options
  610. # Stdout mode
  611. # Turn off all colors and disables image backend (ASCII/Image).
  612. # Useful for piping into another command.
  613. # Default: 'off'
  614. # Values: 'on', 'off'
  615. stdout="off"
  616. # Config version.
  617. #
  618. # NOTE: Don't change this value, neofetch reads this to determine
  619. # how to handle backwards compatibility.
  620. config_version="3.3.0"
  621. # }}} options #