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

6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
  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 "Terminal Font" term_font
  11. info "Shell" shell
  12. # info "Font" font
  13. info "Packages" packages
  14. info "WM" wm
  15. info "WM Theme" wm_theme
  16. # info "Theme" theme
  17. # info "Icons" icons
  18. info "CPU" cpu
  19. info "GPU" gpu
  20. # info "CPU Usage" cpu_usage
  21. info "Memory" memory
  22. info "Disk" disk
  23. info "Resolution" resolution
  24. # info "Uptime" uptime
  25. info "Install Date" install_date
  26. info "Song" song
  27. # info "Users" users
  28. # info "Host" model
  29. # info "Kernel" kernel
  30. # info "DE" de
  31. # info "GPU Driver" gpu_driver # Linux only
  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=('/' '/dev/sda3')
  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_backend="jp2a"
  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. # image_source="$HOME/Downloads/arch.png"
  467. # Ascii Options
  468. # Ascii distro
  469. # Which distro's ascii art to display.
  470. #
  471. # Default: 'auto'
  472. # Values: 'auto', 'distro_name'
  473. # Flag: --ascii_distro
  474. #
  475. # NOTE: Arch and Ubuntu have 'old' logo variants.
  476. # Change this to 'arch_old' or 'ubuntu_old' to use the old logos.
  477. # NOTE: Ubuntu has flavor variants.
  478. # Change this to 'Lubuntu', 'Xubuntu', 'Ubuntu-GNOME' or 'Ubuntu-Budgie' to use the flavors.
  479. # NOTE: Arch, Crux and Gentoo have a smaller logo variant.
  480. # Change this to 'arch_small', 'crux_small' or 'gentoo_small' to use the small logos.
  481. ascii_distro="auto"
  482. # Ascii Colors
  483. #
  484. # Default: 'distro'
  485. # Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num'
  486. # Flag: --ascii_colors
  487. #
  488. # Example:
  489. # ascii_colors=(distro) - Ascii is colored based on Distro colors.
  490. # ascii_colors=(4 6 1 8 8 6) - Ascii is colored using these colors.
  491. ascii_colors=(distro)
  492. # Bold ascii logo
  493. # Whether or not to bold the ascii logo.
  494. #
  495. # Default: 'on'
  496. # Values: 'on', 'off'
  497. # Flag: --ascii_bold
  498. ascii_bold="on"
  499. # Image Options
  500. # Image loop
  501. # Setting this to on will make neofetch redraw the image constantly until
  502. # Ctrl+C is pressed. This fixes display issues in some terminal emulators.
  503. #
  504. # Default: 'off'
  505. # Values: 'on', 'off'
  506. # Flag: --loop
  507. image_loop="off"
  508. # Thumbnail directory
  509. #
  510. # Default: '~/.cache/thumbnails/neofetch'
  511. # Values: 'dir'
  512. thumbnail_dir="${XDG_CACHE_HOME:-${HOME}/.cache}/thumbnails/neofetch"
  513. # Crop mode
  514. #
  515. # Default: 'normal'
  516. # Values: 'normal', 'fit', 'fill'
  517. # Flag: --crop_mode
  518. #
  519. # See this wiki page to learn about the fit and fill options.
  520. # https://github.com/dylanaraps/neofetch/wiki/What-is-Waifu-Crop%3F
  521. crop_mode="normal"
  522. # Crop offset
  523. # Note: Only affects 'normal' crop mode.
  524. #
  525. # Default: 'center'
  526. # Values: 'northwest', 'north', 'northeast', 'west', 'center'
  527. # 'east', 'southwest', 'south', 'southeast'
  528. # Flag: --crop_offset
  529. crop_offset="center"
  530. # Image size
  531. # The image is half the terminal width by default.
  532. #
  533. # Default: 'auto'
  534. # Values: 'auto', '00px', '00%', 'none'
  535. # Flags: --image_size
  536. # --size
  537. image_size="auto"
  538. # Ggap between image and text
  539. #
  540. # Default: '3'
  541. # Values: 'num', '-num'
  542. # Flag: --gap
  543. gap=3
  544. # Image offsets
  545. # Only works with the w3m backend.
  546. #
  547. # Default: '0'
  548. # Values: 'px'
  549. # Flags: --xoffset
  550. # --yoffset
  551. yoffset=0
  552. xoffset=0
  553. # Image background color
  554. # Only works with the w3m backend.
  555. #
  556. # Default: ''
  557. # Values: 'color', 'blue'
  558. # Flag: --bg_color
  559. background_color=
  560. # Scrot Options
  561. # Whether or not to always take a screenshot
  562. # You can manually take a screenshot with "--scrot" or "-s"
  563. #
  564. # Default: 'off'
  565. # Values: 'on', 'off'
  566. # Flags: --scrot
  567. # -s
  568. scrot="off"
  569. # Screenshot Program
  570. # Neofetch will automatically use whatever screenshot tool
  571. # is installed on your system.
  572. #
  573. # If 'neofetch -v' says that it couldn't find a screenshot
  574. # tool or you're using a custom tool then you can change
  575. # the option below to a custom command.
  576. #
  577. # Default: 'auto'
  578. # Values: 'auto' 'cmd -flags'
  579. # Flag: --scrot_cmd
  580. scrot_cmd="auto"
  581. # Screenshot Filename
  582. # What to name the screenshots
  583. #
  584. # Default: 'neofetch-$(date +%F-%I-%M-%S-${RANDOM}).png'
  585. # Values: 'string'
  586. # Flag: --scrot_name
  587. scrot_name="neofetch-$(date +%F-%I-%M-%S-${RANDOM}).png"
  588. # Image upload host
  589. # Where to upload the image.
  590. #
  591. # Default: 'teknik'
  592. # Values: 'imgur', 'teknik'
  593. # Flag: --image_host
  594. #
  595. # NOTE: If you'd like another image host to be added to Neofetch.
  596. # Open an issue on github.
  597. image_host="teknik"
  598. # Misc Options
  599. # Stdout mode
  600. # Turn off all colors and disables image backend (ASCII/Image).
  601. # Useful for piping into another command.
  602. # Default: 'off'
  603. # Values: 'on', 'off'
  604. stdout="off"
  605. # Config version.
  606. #
  607. # NOTE: Don't change this value, neofetch reads this to determine
  608. # how to handle backwards compatibility.
  609. config_version="3.3.0"