config.conf 15 KB

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