My dotfiles for my Linux rice managed with stow and make
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.

config 14KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727
  1. #!/usr/bin/env bash
  2. #
  3. # Neofetch config file
  4. # https://github.com/dylanaraps/neofetch
  5. # See this wiki page for more info:
  6. # https://github.com/dylanaraps/neofetch/wiki/Customizing-Info
  7. print_info() {
  8. info title
  9. info underline
  10. info "OS" distro
  11. info "Model" model
  12. info "Kernel" kernel
  13. info "Uptime" uptime
  14. info "Shell" shell
  15. info "Resolution" resolution
  16. info "DE" de
  17. info "WM" wm
  18. info "WM Theme" wm_theme
  19. info "Theme" theme
  20. info "Icons" icons
  21. info "Terminal" term
  22. info "Terminal Font" term_font
  23. info "CPU" cpu
  24. info "GPU" gpu
  25. info "Memory" memory
  26. info "Local IP" local_ip
  27. # info "Font" font
  28. # info "Packages" packages
  29. # info "CPU Usage" cpu_usage
  30. # info "Disk" disk
  31. # info "Battery" battery
  32. # info "Song" song
  33. # info "Public IP" public_ip
  34. # info "Users" users
  35. # info "Install Date" install_date
  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="on"
  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. #
  120. # Example:
  121. # on: 'i7-6500U (4) @ 3.1GHz'
  122. # off: 'i7-6500U (4) @ 3.100GHz'
  123. speed_shorthand="off"
  124. # Shorten the output of the CPU function
  125. #
  126. # Default: 'off'
  127. # Values: 'on', 'off', 'tiny', 'name', 'speed'
  128. # Flag: --cpu_shorthand
  129. #
  130. # Example:
  131. # on: 'i7-6500U (4) @ 3.1GHz'
  132. # off: 'Intel i7-6500U (4) @ 3.1GHz'
  133. # tiny: 'i7-6500U (4)'
  134. # name: 'Intel i7-6500U (4)'
  135. # speed: '3.1GHz'
  136. cpu_shorthand="off"
  137. # CPU Speed
  138. # Hide/Show CPU speed.
  139. #
  140. # Default: 'on'
  141. # Values: 'on', 'off'
  142. # Flag: --cpu_speed
  143. #
  144. # Example:
  145. # on: 'Intel i7-6500U (4) @ 3.1GHz'
  146. # off: 'Intel i7-6500U (4)'
  147. cpu_speed="on"
  148. # CPU Cores
  149. # Display CPU cores in output
  150. #
  151. # Default: 'logical'
  152. # Values: 'logical', 'physical', 'off'
  153. # Flag: --cpu_cores
  154. # Support: 'physical' doesn't work on BSD.
  155. #
  156. # Example:
  157. # logical: 'Intel i7-6500U (4) @ 3.1GHz' (All virtual cores)
  158. # physical: 'Intel i7-6500U (2) @ 3.1GHz' (All physical cores)
  159. # off: 'Intel i7-6500U @ 3.1GHz'
  160. cpu_cores="logical"
  161. # CPU Temperature
  162. # Hide/Show CPU temperature.
  163. # Note the temperature is added to the regular CPU function.
  164. #
  165. # Default: 'off'
  166. # Values: 'C', 'F', 'off'
  167. # Flag: --cpu_temp
  168. # Supports: Linux
  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="on"
  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="on"
  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="12h"
  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. # Config version.
  599. #
  600. # NOTE: Don't change this value, neofetch reads this to determine
  601. # how to handle backwards compatibility.
  602. config_version="3.2.0"