Advertisement
cery92

neofetchlog

Apr 10th, 2018
288
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 38.48 KB | None | 0 0
  1. + verbose=on
  2. + shift
  3. + [[ -n '' ]]
  4. + [[ on != \o\n ]]
  5. + get_distro
  6. + [[ -n '' ]]
  7. + case "$os" in
  8. + [[ Linux version 4.4.0-43-Microsoft (Microsoft@Microsoft.com) (gcc version 5.4.0 (GCC) ) #1-Microsoft Wed Dec 31 14:42:53 PST 2014 == *\M\i\c\r\o\s\o\f\t* ]]
  9. + case "$distro_shorthand" in
  10. ++ lsb_release -sd
  11. /usr/bin/neofetch: line 65: lsb_release: command not found
  12. + distro=' on Windows 10'
  13. ++ trim_quotes ' on Windows 10'
  14. ++ trim_output=' on Windows 10'
  15. ++ trim_output=' on Windows 10'
  16. ++ printf %s ' on Windows 10'
  17. + distro=' on Windows 10'
  18. + distro=' on Windows 10'
  19. + [[ -z on Windows 10 ]]
  20. + case "$os" in
  21. ++ uname -m
  22. + machine_arch=x86_64
  23. + [[ on == \o\n ]]
  24. + distro+=' x86_64'
  25. + [[ auto == \a\u\t\o ]]
  26. ++ trim ' on Windows 10 x86_64'
  27. ++ set -f
  28. ++ builtin echo -E on Windows 10 x86_64
  29. ++ set +f
  30. + ascii_distro='on Windows 10 x86_64'
  31. + get_bold
  32. + case "$ascii_bold" in
  33. + ascii_bold='\033[1m'
  34. + case "$bold" in
  35. + bold='\033[1m'
  36. + get_distro_colors
  37. + case "$ascii_distro" in
  38. + set_colors 6 7
  39. ++ color 6
  40. ++ case "$1" in
  41. ++ printf %b '\033[0m\033[36m'
  42. + c1='\033[1m'
  43. ++ color 7
  44. ++ case "$1" in
  45. ++ printf %b '\033[37m\033[0m'
  46. + c2='\033[1m'
  47. ++ color ''
  48. ++ case "$1" in
  49. ++ printf %b '\033[38;5;m'
  50. + c3='\033[1m'
  51. ++ color ''
  52. ++ case "$1" in
  53. ++ printf %b '\033[38;5;m'
  54. + c4='\033[1m'
  55. ++ color ''
  56. ++ case "$1" in
  57. ++ printf %b '\033[38;5;m'
  58. + c5='\033[1m'
  59. ++ color ''
  60. ++ case "$1" in
  61. ++ printf %b '\033[38;5;m'
  62. + c6='\033[1m'
  63. + [[ '' != \o\f\f ]]
  64. + set_text_colors 6 7
  65. + [[ distro == \d\i\s\t\r\o ]]
  66. ++ color 6
  67. ++ case "$1" in
  68. ++ printf %b '\033[0m\033[36m'
  69. + title_color=''
  70. + at_color='\033[0m'
  71. + underline_color='\033[0m'
  72. ++ color 7
  73. ++ case "$1" in
  74. ++ printf %b '\033[37m\033[0m'
  75. + subtitle_color=''
  76. + colon_color='\033[0m'
  77. + info_color='\033[0m'
  78. + (( 6 == 8 ))
  79. + (( 7 == 8 ))
  80. + (( 7 == 7 ))
  81. ++ color 6
  82. ++ case "$1" in
  83. ++ printf %b '\033[0m\033[36m'
  84. + subtitle_color=''
  85. + (( 6 == 7 ))
  86. + [[ distro == \d\i\s\t\r\o ]]
  87. ++ color fg
  88. ++ case "$1" in
  89. ++ printf %b '\033[37m\033[0m'
  90. + bar_color_elapsed=''
  91. + case "$bar_color_total $1" in
  92. ++ color 6
  93. ++ case "$1" in
  94. ++ printf %b '\033[0m\033[36m'
  95. + bar_color_total=''
  96. + ascii_file=windows10
  97. + [[ distro != \d\i\s\t\r\o ]]
  98. + [[ off == \o\n ]]
  99. + [[ xterm-256color != \m\i\n\i\x ]]
  100. + [[ off != \o\n ]]
  101. + trap 'printf "\033[?25h\033[?7h"' EXIT
  102. + printf '\033[?25l\033[?7l'
  103. + image_backend
  104. + [[ ! ascii =~ ^(off|ascii)$ ]]
  105. + case "${image_backend:-off}" in
  106. + get_ascii
  107. + [[ ! -f auto ]]
  108. + [[ ! auto =~ ^(auto|ascii)$ ]]
  109. + [[ auto =~ \.(png|jpg|jpe|jpeg|gif)$ ]]
  110. + [[ -d /usr/share/neofetch/ascii/distro ]]
  111. + ascii_dir=/usr/share/neofetch/ascii/distro
  112. + image_source=/usr/share/neofetch/ascii/distro/windows10
  113. + [[ ! -f /usr/share/neofetch/ascii/distro/windows10 ]]
  114. + export LC_ALL=en_US.UTF-8
  115. + LC_ALL=en_US.UTF-8
  116. + IFS='
  117. '
  118. + read -r line
  119. + print+='${c1} .., \n'
  120. + line=' ..,'
  121. + line=' ..,'
  122. + (( 35 > ascii_length ))
  123. + ascii_length=35
  124. + (( ++lines ))
  125. + IFS='
  126. '
  127. + read -r line
  128. + print+=' ....,,:;+ccllll \n'
  129. + line=' ....,,:;+ccllll'
  130. + line=' ....,,:;+ccllll'
  131. + (( 35 > ascii_length ))
  132. + (( ++lines ))
  133. + IFS='
  134. '
  135. + read -r line
  136. + print+=' ...,,+:; cllllllllllllllllll \n'
  137. + line=' ...,,+:; cllllllllllllllllll'
  138. + line=' ...,,+:; cllllllllllllllllll'
  139. + (( 35 > ascii_length ))
  140. + (( ++lines ))
  141. + IFS='
  142. '
  143. + read -r line
  144. + print+=',cclllllllllll lllllllllllllllllll \n'
  145. + line=',cclllllllllll lllllllllllllllllll'
  146. + line=',cclllllllllll lllllllllllllllllll'
  147. + (( 35 > ascii_length ))
  148. + (( ++lines ))
  149. + IFS='
  150. '
  151. + read -r line
  152. + print+='llllllllllllll lllllllllllllllllll \n'
  153. + line='llllllllllllll lllllllllllllllllll'
  154. + line='llllllllllllll lllllllllllllllllll'
  155. + (( 35 > ascii_length ))
  156. + (( ++lines ))
  157. + IFS='
  158. '
  159. + read -r line
  160. + print+='llllllllllllll lllllllllllllllllll \n'
  161. + line='llllllllllllll lllllllllllllllllll'
  162. + line='llllllllllllll lllllllllllllllllll'
  163. + (( 35 > ascii_length ))
  164. + (( ++lines ))
  165. + IFS='
  166. '
  167. + read -r line
  168. + print+='llllllllllllll lllllllllllllllllll \n'
  169. + line='llllllllllllll lllllllllllllllllll'
  170. + line='llllllllllllll lllllllllllllllllll'
  171. + (( 35 > ascii_length ))
  172. + (( ++lines ))
  173. + IFS='
  174. '
  175. + read -r line
  176. + print+='llllllllllllll lllllllllllllllllll \n'
  177. + line='llllllllllllll lllllllllllllllllll'
  178. + line='llllllllllllll lllllllllllllllllll'
  179. + (( 35 > ascii_length ))
  180. + (( ++lines ))
  181. + IFS='
  182. '
  183. + read -r line
  184. + print+='llllllllllllll lllllllllllllllllll \n'
  185. + line='llllllllllllll lllllllllllllllllll'
  186. + line='llllllllllllll lllllllllllllllllll'
  187. + (( 35 > ascii_length ))
  188. + (( ++lines ))
  189. + IFS='
  190. '
  191. + read -r line
  192. + print+=' \n'
  193. + line=
  194. + line=
  195. + (( 0 > ascii_length ))
  196. + (( ++lines ))
  197. + IFS='
  198. '
  199. + read -r line
  200. + print+='llllllllllllll lllllllllllllllllll \n'
  201. + line='llllllllllllll lllllllllllllllllll'
  202. + line='llllllllllllll lllllllllllllllllll'
  203. + (( 35 > ascii_length ))
  204. + (( ++lines ))
  205. + IFS='
  206. '
  207. + read -r line
  208. + print+='llllllllllllll lllllllllllllllllll \n'
  209. + line='llllllllllllll lllllllllllllllllll'
  210. + line='llllllllllllll lllllllllllllllllll'
  211. + (( 35 > ascii_length ))
  212. + (( ++lines ))
  213. + IFS='
  214. '
  215. + read -r line
  216. + print+='llllllllllllll lllllllllllllllllll \n'
  217. + line='llllllllllllll lllllllllllllllllll'
  218. + line='llllllllllllll lllllllllllllllllll'
  219. + (( 35 > ascii_length ))
  220. + (( ++lines ))
  221. + IFS='
  222. '
  223. + read -r line
  224. + print+='llllllllllllll lllllllllllllllllll \n'
  225. + line='llllllllllllll lllllllllllllllllll'
  226. + line='llllllllllllll lllllllllllllllllll'
  227. + (( 35 > ascii_length ))
  228. + (( ++lines ))
  229. + IFS='
  230. '
  231. + read -r line
  232. + print+='llllllllllllll lllllllllllllllllll \n'
  233. + line='llllllllllllll lllllllllllllllllll'
  234. + line='llllllllllllll lllllllllllllllllll'
  235. + (( 35 > ascii_length ))
  236. + (( ++lines ))
  237. + IFS='
  238. '
  239. + read -r line
  240. + print+='`'\''ccllllllllll lllllllllllllllllll \n'
  241. + line='`'\''ccllllllllll lllllllllllllllllll'
  242. + line='`'\''ccllllllllll lllllllllllllllllll'
  243. + (( 35 > ascii_length ))
  244. + (( ++lines ))
  245. + IFS='
  246. '
  247. + read -r line
  248. + print+=' `'\'' \\*:: :ccllllllllllllllll \n'
  249. + line=' `'\'' \\*:: :ccllllllllllllllll'
  250. + line=' `'\'' \*:: :ccllllllllllllllll'
  251. + (( 35 > ascii_length ))
  252. + (( ++lines ))
  253. + IFS='
  254. '
  255. + read -r line
  256. + print+=' ````'\'''\''*::cll \n'
  257. + line=' ````'\'''\''*::cll'
  258. + line=' ````'\'''\''*::cll'
  259. + (( 35 > ascii_length ))
  260. + (( ++lines ))
  261. + IFS='
  262. '
  263. + read -r line
  264. + print+=' `` \n'
  265. + line=' ``'
  266. + line=' ``'
  267. + (( 35 > ascii_length ))
  268. + (( ++lines ))
  269. + IFS='
  270. '
  271. + read -r line
  272. + print='\033[1m .., \n ....,,:;+ccllll \n ...,,+:; cllllllllllllllllll \n,cclllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \n \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \n`'\''ccllllllllll lllllllllllllllllll \n `'\'' \\*:: :ccllllllllllllllll \n ````'\'''\''*::cll \n `` \n'
  273. + print='\033[1m .., \n ....,,:;+ccllll \n ...,,+:; cllllllllllllllllll \n,cclllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \n \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \n`'\''ccllllllllll lllllllllllllllllll \n `'\'' \\*:: :ccllllllllllllllll \n ````'\'''\''*::cll \n `` \n'
  274. + print='\033[1m .., \n ....,,:;+ccllll \n ...,,+:; cllllllllllllllllll \n,cclllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \n \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \n`'\''ccllllllllll lllllllllllllllllll \n `'\'' \\*:: :ccllllllllllllllll \n ````'\'''\''*::cll \n `` \n'
  275. + print='\033[1m .., \n ....,,:;+ccllll \n ...,,+:; cllllllllllllllllll \n,cclllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \n \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \n`'\''ccllllllllll lllllllllllllllllll \n `'\'' \\*:: :ccllllllllllllllll \n ````'\'''\''*::cll \n `` \n'
  276. + print='\033[1m .., \n ....,,:;+ccllll \n ...,,+:; cllllllllllllllllll \n,cclllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \n \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \n`'\''ccllllllllll lllllllllllllllllll \n `'\'' \\*:: :ccllllllllllllllll \n ````'\'''\''*::cll \n `` \n'
  277. + print='\033[1m .., \n ....,,:;+ccllll \n ...,,+:; cllllllllllllllllll \n,cclllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \n \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \n`'\''ccllllllllll lllllllllllllllllll \n `'\'' \\*:: :ccllllllllllllllll \n ````'\'''\''*::cll \n `` \n'
  278. + [[ -n '' ]]
  279. + text_padding=38
  280. + printf %b '\033[1m .., \n ....,,:;+ccllll \n ...,,+:; cllllllllllllllllll \n,cclllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \n \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \nllllllllllllll lllllllllllllllllll \n`'\''ccllllllllll lllllllllllllllllll \n `'\'' \\*:: :ccllllllllllllllll \n ````'\'''\''*::cll \n `` \n'
  281. + export LC_ALL=C
  282. + LC_ALL=C
  283. + [[ ascii != \o\f\f ]]
  284. + printf %b '\033[19A\033[9999999D'
  285. + old_functions
  286. + type printinfo
  287. + get_cache_dir
  288. + case "$os" in
  289. + cache_dir=/tmp
  290. + print_info
  291. + info title
  292. + [[ -n '' ]]
  293. + unset -v prin
  294. + get_title
  295. + user=cery92
  296. + hostname=GamingStation
  297. + title='\033[1mcery92\033[0m@\033[1mGamingStation'
  298. + length=20
  299. + [[ -n '' ]]
  300. ++ trim '\033[1mcery92\033[0m@\033[1mGamingStation'
  301. ++ set -f
  302. ++ builtin echo -E '\033[1mcery92\033[0m@\033[1mGamingStation'
  303. ++ set +f
  304. + output='\033[1mcery92\033[0m@\033[1mGamingStation'
  305. + [[ -n '' ]]
  306. + [[ -n \033[1mcery92\033[0m@\033[1mGamingStation ]]
  307. + prin '\033[1mcery92\033[0m@\033[1mGamingStation'
  308. ++ trim '\033[1mcery92\033[0m@\033[1mGamingStation'
  309. ++ set -f
  310. ++ builtin echo -E '\033[1mcery92\033[0m@\033[1mGamingStation'
  311. ++ set +f
  312. + [[ -n \033[1mcery92\033[0m@\033[1mGamingStation ]]
  313. + [[ -n '' ]]
  314. + string='\033[1mcery92\033[0m@\033[1mGamingStation'
  315. + local 'subtitle_color=\033[0m'
  316. ++ trim '\033[1mcery92\033[0m@\033[1mGamingStation'
  317. ++ set -f
  318. ++ builtin echo -E '\033[1mcery92\033[0m@\033[1mGamingStation'
  319. ++ set +f
  320. + string='\033[1mcery92\033[0m@\033[1mGamingStation'
  321. + [[ -z 20 ]]
  322. + string='\033[1mcery92\033[0m@\033[1mGamingStation'
  323. + string='\033[0m\033[1m\033[1mcery92\033[0m@\033[1mGamingStation'
  324. + printf '%b\n' '\033[38C\033[0m\033[1m\033[1mcery92\033[0m@\033[1mGamingStation\033[0m'
  325. + (( ++info_height ))
  326. + prin=1
  327. + unset -v subtitle
  328. + info underline
  329. + [[ -n '' ]]
  330. + unset -v prin
  331. + get_underline
  332. + [[ on == \o\n ]]
  333. + printf -v underline %20s
  334. + printf '%b%b\n' '\033[38C\033[0m' '--------------------\033[0m'
  335. + unset -v length
  336. + prin=1
  337. + [[ -n 1 ]]
  338. + return
  339. + info OS distro
  340. + [[ -n distro ]]
  341. + subtitle=OS
  342. + unset -v prin
  343. + get_distro
  344. + [[ -n on Windows 10 x86_64 ]]
  345. + return
  346. + [[ -n '' ]]
  347. ++ trim ' on Windows 10 x86_64'
  348. ++ set -f
  349. ++ builtin echo -E on Windows 10 x86_64
  350. ++ set +f
  351. + output='on Windows 10 x86_64'
  352. + [[ -n distro ]]
  353. + [[ -n onWindows10x86_64 ]]
  354. + prin OS 'on Windows 10 x86_64'
  355. ++ trim OS
  356. ++ set -f
  357. ++ builtin echo -E OS
  358. ++ set +f
  359. + [[ -n OS ]]
  360. + [[ -n on Windows 10 x86_64 ]]
  361. + string='OS: on Windows 10 x86_64'
  362. ++ trim 'OS: on Windows 10 x86_64'
  363. ++ set -f
  364. ++ builtin echo -E OS: on Windows 10 x86_64
  365. ++ set +f
  366. + string='OS: on Windows 10 x86_64'
  367. + [[ -z '' ]]
  368. ++ strip_sequences 'OS: on Windows 10 x86_64'
  369. ++ strip='OS: on Windows 10 x86_64'
  370. ++ strip='OS: on Windows 10 x86_64'
  371. ++ strip='OS: on Windows 10 x86_64'
  372. ++ strip='OS: on Windows 10 x86_64'
  373. ++ printf '%s\n' 'OS: on Windows 10 x86_64'
  374. + length='OS: on Windows 10 x86_64'
  375. + length=24
  376. + string='OS\033[0m\033[0m:\033[0m on Windows 10 x86_64'
  377. + string='\033[1mOS\033[0m\033[0m:\033[0m on Windows 10 x86_64'
  378. + printf '%b\n' '\033[38C\033[1mOS\033[0m\033[0m:\033[0m on Windows 10 x86_64\033[0m'
  379. + (( ++info_height ))
  380. + prin=1
  381. + unset -v subtitle
  382. + info Host model
  383. + [[ -n model ]]
  384. + subtitle=Host
  385. + unset -v prin
  386. + get_model
  387. + case "$os" in
  388. + [[ -d /system/app/ ]]
  389. + [[ -f /sys/devices/virtual/dmi/id/product_name ]]
  390. + [[ -f /sys/devices/virtual/dmi/id/product_version ]]
  391. + [[ -f /sys/firmware/devicetree/base/model ]]
  392. + [[ -f /tmp/sysinfo/model ]]
  393. + model=
  394. + model=
  395. + model=
  396. + model=
  397. + model=
  398. + model=
  399. + model=
  400. + model=
  401. + model=
  402. + model=
  403. + case "$model" in
  404. + [[ -n '' ]]
  405. ++ trim ''
  406. ++ set -f
  407. ++ builtin echo -E
  408. ++ set +f
  409. + output=
  410. + [[ -n model ]]
  411. + [[ -n '' ]]
  412. + [[ -n '' ]]
  413. + err 'Info: Couldn'\''t detect Host.'
  414. ++ color 1
  415. ++ case "$1" in
  416. ++ printf %b '\033[0m\033[31m'
  417. + err+='[!]\033[0m Info: Couldn'\''t detect Host.\n'
  418. + unset -v subtitle
  419. + info Kernel kernel
  420. + [[ -n kernel ]]
  421. + subtitle=Kernel
  422. + unset -v prin
  423. + get_kernel
  424. + [[ Linux =~ (AIX|IRIX) ]]
  425. + case "$kernel_shorthand" in
  426. + kernel=4.4.0-43-Microsoft
  427. + [[ Linux =~ (BSD|MINIX) ]]
  428. + [[ -n '' ]]
  429. ++ trim 4.4.0-43-Microsoft
  430. ++ set -f
  431. ++ builtin echo -E 4.4.0-43-Microsoft
  432. ++ set +f
  433. + output=4.4.0-43-Microsoft
  434. + [[ -n kernel ]]
  435. + [[ -n 4.4.0-43-Microsoft ]]
  436. + prin Kernel 4.4.0-43-Microsoft
  437. ++ trim Kernel
  438. ++ set -f
  439. ++ builtin echo -E Kernel
  440. ++ set +f
  441. + [[ -n Kernel ]]
  442. + [[ -n 4.4.0-43-Microsoft ]]
  443. + string='Kernel: 4.4.0-43-Microsoft'
  444. ++ trim 'Kernel: 4.4.0-43-Microsoft'
  445. ++ set -f
  446. ++ builtin echo -E Kernel: 4.4.0-43-Microsoft
  447. ++ set +f
  448. + string='Kernel: 4.4.0-43-Microsoft'
  449. + [[ -z 24 ]]
  450. + string='Kernel\033[0m\033[0m:\033[0m 4.4.0-43-Microsoft'
  451. + string='\033[1mKernel\033[0m\033[0m:\033[0m 4.4.0-43-Microsoft'
  452. + printf '%b\n' '\033[38C\033[1mKernel\033[0m\033[0m:\033[0m 4.4.0-43-Microsoft\033[0m'
  453. + (( ++info_height ))
  454. + prin=1
  455. + unset -v subtitle
  456. + info Uptime uptime
  457. + [[ -n uptime ]]
  458. + subtitle=Uptime
  459. + unset -v prin
  460. + get_uptime
  461. + case "$os" in
  462. + case "$os" in
  463. + seconds='1315.13 5638.56'
  464. + seconds=1315
  465. + days='0 days'
  466. + hours='0 hours'
  467. + mins='21 minutes'
  468. ++ strip_date '0 days'
  469. ++ case "$1" in
  470. ++ unset days
  471. + days=
  472. ++ strip_date '0 hours'
  473. ++ case "$1" in
  474. ++ unset hours
  475. + hours=
  476. ++ strip_date '21 minutes'
  477. ++ case "$1" in
  478. ++ printf %s '21 minutes'
  479. + mins='21 minutes'
  480. + uptime='21 minutes'
  481. + uptime='21 minutes'
  482. + uptime='21 minutes'
  483. + case "$uptime_shorthand" in
  484. + uptime='21 mins'
  485. + uptime='21 mins'
  486. + uptime='21 mins'
  487. + [[ -n '' ]]
  488. ++ trim '21 mins'
  489. ++ set -f
  490. ++ builtin echo -E 21 mins
  491. ++ set +f
  492. + output='21 mins'
  493. + [[ -n uptime ]]
  494. + [[ -n 21mins ]]
  495. + prin Uptime '21 mins'
  496. ++ trim Uptime
  497. ++ set -f
  498. ++ builtin echo -E Uptime
  499. ++ set +f
  500. + [[ -n Uptime ]]
  501. + [[ -n 21 mins ]]
  502. + string='Uptime: 21 mins'
  503. ++ trim 'Uptime: 21 mins'
  504. ++ set -f
  505. ++ builtin echo -E Uptime: 21 mins
  506. ++ set +f
  507. + string='Uptime: 21 mins'
  508. + [[ -z 24 ]]
  509. + string='Uptime\033[0m\033[0m:\033[0m 21 mins'
  510. + string='\033[1mUptime\033[0m\033[0m:\033[0m 21 mins'
  511. + printf '%b\n' '\033[38C\033[1mUptime\033[0m\033[0m:\033[0m 21 mins\033[0m'
  512. + (( ++info_height ))
  513. + prin=1
  514. + unset -v subtitle
  515. + info Packages packages
  516. + [[ -n packages ]]
  517. + subtitle=Packages
  518. + unset -v prin
  519. + get_packages
  520. + local 'PATH=:/usr/xpg4/bin:/usr/sbin:/sbin:/usr/etc:/usr/libexec:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/ProgramData/Oracle/Java/javapath_target_1727078:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Program Files (x86)/ATI Technologies/ATI.ACE/Core-Static:/mnt/c/Program Files/MySQL/MySQL Utilities 1.6:/mnt/c/Users/Andrea/AppData/Local/Programs/Python/Python36/Scripts:/mnt/c/Users/Andrea/AppData/Local/Programs/Python/Python36:/mnt/c/Users/Andrea/AppData/Local/Microsoft/WindowsApps:'
  521. + local 'PATH=:/usr/xpg4/bin:/usr/sbin:/sbin:/usr/etc:/usr/libexec:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/ProgramData/Oracle/Java/javapath_target_1727078:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Program Files (x86)/ATI Technologies/ATI.ACE/Core-Static:/mnt/c/Program Files/MySQL/MySQL Utilities 1.6:/mnt/c/Users/Andrea/AppData/Local/Programs/Python/Python36/Scripts:/mnt/c/Users/Andrea/AppData/Local/Programs/Python/Python36:/mnt/c/Users/Andrea/AppData/Local/Microsoft/WindowsApps:'
  522. + local 'PATH=:/usr/xpg4/bin:/usr/sbin:/sbin:/usr/etc:/usr/libexec:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/ProgramData/Oracle/Java/javapath_target_1727078:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Program Files (x86)/ATI Technologies/ATI.ACE/Core-Static:/mnt/c/Program Files/MySQL/MySQL Utilities 1.6:/mnt/c/Users/Andrea/AppData/Local/Programs/Python/Python36/Scripts:/mnt/c/Users/Andrea/AppData/Local/Programs/Python/Python36:/mnt/c/Users/Andrea/AppData/Local/Microsoft/WindowsApps'
  523. + local 'PATH=/usr/xpg4/bin:/usr/sbin:/sbin:/usr/etc:/usr/libexec:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/ProgramData/Oracle/Java/javapath_target_1727078:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Program Files (x86)/ATI Technologies/ATI.ACE/Core-Static:/mnt/c/Program Files/MySQL/MySQL Utilities 1.6:/mnt/c/Users/Andrea/AppData/Local/Programs/Python/Python36/Scripts:/mnt/c/Users/Andrea/AppData/Local/Programs/Python/Python36:/mnt/c/Users/Andrea/AppData/Local/Microsoft/WindowsApps'
  524. + case "$os" in
  525. + type -p pacman
  526. + type -p dpkg
  527. ++ dpkg --get-selections
  528. ++ grep -cv 'deinstall$'
  529. + packages=205
  530. + type -p kpm
  531. + type -p pkgtool
  532. + type -p rpm
  533. + type -p xbps-query
  534. + type -p pkginfo
  535. + type -p emerge
  536. + type -p nix-env
  537. + type -p guix
  538. + type -p apk
  539. + type -p opkg
  540. + type -p pacman-g2
  541. + type -p lvu
  542. + type -p tce-status
  543. + type -p Compile
  544. + type -p eopkg
  545. + type -p pkg_info
  546. + type -p crew
  547. + type -p tazpkg
  548. + type -p sorcery
  549. + type -p alps
  550. + type -p cave
  551. + type -p pkg
  552. + (( packages == 0 ))
  553. + [[ -n '' ]]
  554. ++ trim 205
  555. ++ set -f
  556. ++ builtin echo -E 205
  557. ++ set +f
  558. + output=205
  559. + [[ -n packages ]]
  560. + [[ -n 205 ]]
  561. + prin Packages 205
  562. ++ trim Packages
  563. ++ set -f
  564. ++ builtin echo -E Packages
  565. ++ set +f
  566. + [[ -n Packages ]]
  567. + [[ -n 205 ]]
  568. + string='Packages: 205'
  569. ++ trim 'Packages: 205'
  570. ++ set -f
  571. ++ builtin echo -E Packages: 205
  572. ++ set +f
  573. + string='Packages: 205'
  574. + [[ -z 24 ]]
  575. + string='Packages\033[0m\033[0m:\033[0m 205'
  576. + string='\033[1mPackages\033[0m\033[0m:\033[0m 205'
  577. + printf '%b\n' '\033[38C\033[1mPackages\033[0m\033[0m:\033[0m 205\033[0m'
  578. + (( ++info_height ))
  579. + prin=1
  580. + unset -v subtitle
  581. + info Shell shell
  582. + [[ -n shell ]]
  583. + subtitle=Shell
  584. + unset -v prin
  585. + get_shell
  586. + case "$shell_path" in
  587. + shell='bash '
  588. + [[ on == \o\n ]]
  589. + case "${shell_name:=${SHELL##*/}}" in
  590. + shell+='4.4.18(1)'
  591. + shell='bash 4.4.18(1)'
  592. + shell='bash 4.4.18(1)'
  593. + shell='bash 4.4.18(1)'
  594. + shell='bash 4.4.18'
  595. + [[ -n '' ]]
  596. ++ trim 'bash 4.4.18'
  597. ++ set -f
  598. ++ builtin echo -E bash 4.4.18
  599. ++ set +f
  600. + output='bash 4.4.18'
  601. + [[ -n shell ]]
  602. + [[ -n bash4.4.18 ]]
  603. + prin Shell 'bash 4.4.18'
  604. ++ trim Shell
  605. ++ set -f
  606. ++ builtin echo -E Shell
  607. ++ set +f
  608. + [[ -n Shell ]]
  609. + [[ -n bash 4.4.18 ]]
  610. + string='Shell: bash 4.4.18'
  611. ++ trim 'Shell: bash 4.4.18'
  612. ++ set -f
  613. ++ builtin echo -E Shell: bash 4.4.18
  614. ++ set +f
  615. + string='Shell: bash 4.4.18'
  616. + [[ -z 24 ]]
  617. + string='Shell\033[0m\033[0m:\033[0m bash 4.4.18'
  618. + string='\033[1mShell\033[0m\033[0m:\033[0m bash 4.4.18'
  619. + printf '%b\n' '\033[38C\033[1mShell\033[0m\033[0m:\033[0m bash 4.4.18\033[0m'
  620. + (( ++info_height ))
  621. + prin=1
  622. + unset -v subtitle
  623. + info Resolution resolution
  624. + [[ -n resolution ]]
  625. + subtitle=Resolution
  626. + unset -v prin
  627. + get_resolution
  628. + case "$os" in
  629. + type -p xrandr
  630. + type -p xdpyinfo
  631. + resolution=
  632. + [[ -n '' ]]
  633. ++ trim ''
  634. ++ set -f
  635. ++ builtin echo -E
  636. ++ set +f
  637. + output=
  638. + [[ -n resolution ]]
  639. + [[ -n '' ]]
  640. + [[ -n '' ]]
  641. + err 'Info: Couldn'\''t detect Resolution.'
  642. ++ color 1
  643. ++ case "$1" in
  644. ++ printf %b '\033[0m\033[31m'
  645. + err+='[!]\033[0m Info: Couldn'\''t detect Resolution.\n'
  646. + unset -v subtitle
  647. + info DE de
  648. + [[ -n de ]]
  649. + subtitle=DE
  650. + unset -v prin
  651. + get_de
  652. + (( de_run == 1 ))
  653. + case "$os" in
  654. + (( wm_run != 1 ))
  655. + get_wm
  656. + (( wm_run == 1 ))
  657. + [[ -n '' ]]
  658. + case "$os" in
  659. + wm_run=1
  660. + [[ -n '' ]]
  661. + [[ -n '' ]]
  662. + [[ -n '' ]]
  663. + [[ -n '' ]]
  664. + [[ -n '' ]]
  665. + [[ -n '' ]]
  666. + case "$de" in
  667. + de_run=1
  668. + [[ -n '' ]]
  669. ++ trim ''
  670. ++ set -f
  671. ++ builtin echo -E
  672. ++ set +f
  673. + output=
  674. + [[ -n de ]]
  675. + [[ -n '' ]]
  676. + [[ -n '' ]]
  677. + err 'Info: Couldn'\''t detect DE.'
  678. ++ color 1
  679. ++ case "$1" in
  680. ++ printf %b '\033[0m\033[31m'
  681. + err+='[!]\033[0m Info: Couldn'\''t detect DE.\n'
  682. + unset -v subtitle
  683. + info WM wm
  684. + [[ -n wm ]]
  685. + subtitle=WM
  686. + unset -v prin
  687. + get_wm
  688. + (( wm_run == 1 ))
  689. + return
  690. + [[ -n '' ]]
  691. ++ trim ''
  692. ++ set -f
  693. ++ builtin echo -E
  694. ++ set +f
  695. + output=
  696. + [[ -n wm ]]
  697. + [[ -n '' ]]
  698. + [[ -n '' ]]
  699. + err 'Info: Couldn'\''t detect WM.'
  700. ++ color 1
  701. ++ case "$1" in
  702. ++ printf %b '\033[0m\033[31m'
  703. + err+='[!]\033[0m Info: Couldn'\''t detect WM.\n'
  704. + unset -v subtitle
  705. + info 'WM Theme' wm_theme
  706. + [[ -n wm_theme ]]
  707. + subtitle='WM Theme'
  708. + unset -v prin
  709. + get_wm_theme
  710. + (( wm_run != 1 ))
  711. + (( de_run != 1 ))
  712. + case "$wm" in
  713. ++ trim_quotes ''
  714. ++ trim_output=
  715. ++ trim_output=
  716. ++ printf %s ''
  717. + wm_theme=
  718. ++ uppercase ''
  719. ++ (( bash_version >= 4 ))
  720. ++ printf %s ''
  721. + wm_theme=
  722. + [[ -n '' ]]
  723. /usr/bin/neofetch: line 2933: WM Theme: bad substitution
  724. + output=
  725. + [[ -n wm_theme ]]
  726. + [[ -n '' ]]
  727. + [[ -n '' ]]
  728. + err 'Info: Couldn'\''t detect WM Theme.'
  729. ++ color 1
  730. ++ case "$1" in
  731. ++ printf %b '\033[0m\033[31m'
  732. + err+='[!]\033[0m Info: Couldn'\''t detect WM Theme.\n'
  733. + unset -v subtitle
  734. + info Theme theme
  735. + [[ -n theme ]]
  736. + subtitle=Theme
  737. + unset -v prin
  738. + get_theme
  739. + name=gtk-theme-name
  740. + gsettings=gtk-theme
  741. + gconf=gtk_theme
  742. + xfconf=/Net/ThemeName
  743. + kde=Name
  744. + get_style
  745. + unset gtk2_theme gtk3_theme theme path
  746. + [[ -n '' ]]
  747. + [[ -n '' ]]
  748. ++ trim ''
  749. ++ set -f
  750. ++ builtin echo -E
  751. ++ set +f
  752. + output=
  753. + [[ -n theme ]]
  754. + [[ -n '' ]]
  755. + [[ -n '' ]]
  756. + err 'Info: Couldn'\''t detect Theme.'
  757. ++ color 1
  758. ++ case "$1" in
  759. ++ printf %b '\033[0m\033[31m'
  760. + err+='[!]\033[0m Info: Couldn'\''t detect Theme.\n'
  761. + unset -v subtitle
  762. + info Icons icons
  763. + [[ -n icons ]]
  764. + subtitle=Icons
  765. + unset -v prin
  766. + get_icons
  767. + name=gtk-icon-theme-name
  768. + gsettings=icon-theme
  769. + gconf=icon_theme
  770. + xfconf=/Net/IconThemeName
  771. + kde=Theme
  772. + get_style
  773. + unset gtk2_theme gtk3_theme theme path
  774. + [[ -n '' ]]
  775. + icons=
  776. + [[ -n '' ]]
  777. ++ trim ''
  778. ++ set -f
  779. ++ builtin echo -E
  780. ++ set +f
  781. + output=
  782. + [[ -n icons ]]
  783. + [[ -n '' ]]
  784. + [[ -n '' ]]
  785. + err 'Info: Couldn'\''t detect Icons.'
  786. ++ color 1
  787. ++ case "$1" in
  788. ++ printf %b '\033[0m\033[31m'
  789. + err+='[!]\033[0m Info: Couldn'\''t detect Icons.\n'
  790. + unset -v subtitle
  791. + info Terminal term
  792. + [[ -n term ]]
  793. + subtitle=Terminal
  794. + unset -v prin
  795. + get_term
  796. + (( term_run == 1 ))
  797. + case "$TERM_PROGRAM" in
  798. + term=
  799. + [[ -z '' ]]
  800. + [[ -n '' ]]
  801. ++ get_ppid ''
  802. ++ case "$os" in
  803. +++ grep -i -F PPid: /proc/2/status
  804. ++ ppid='PPid: 1'
  805. +++ trim ' 1'
  806. +++ set -f
  807. +++ builtin echo -E 1
  808. +++ set +f
  809. ++ ppid=1
  810. ++ printf %s 1
  811. + parent=1
  812. + [[ -z 1 ]]
  813. ++ get_process_name 1
  814. ++ case "$os" in
  815. ++ name=init
  816. ++ printf %s init
  817. + name=init
  818. + case "${name// }" in
  819. ++ tty
  820. + term=/dev/tty1
  821. + [[ -z /dev/tty1 ]]
  822. + term_run=1
  823. + [[ -n '' ]]
  824. ++ trim /dev/tty1
  825. ++ set -f
  826. ++ builtin echo -E /dev/tty1
  827. ++ set +f
  828. + output=/dev/tty1
  829. + [[ -n term ]]
  830. + [[ -n /dev/tty1 ]]
  831. + prin Terminal /dev/tty1
  832. ++ trim Terminal
  833. ++ set -f
  834. ++ builtin echo -E Terminal
  835. ++ set +f
  836. + [[ -n Terminal ]]
  837. + [[ -n /dev/tty1 ]]
  838. + string='Terminal: /dev/tty1'
  839. ++ trim 'Terminal: /dev/tty1'
  840. ++ set -f
  841. ++ builtin echo -E Terminal: /dev/tty1
  842. ++ set +f
  843. + string='Terminal: /dev/tty1'
  844. + [[ -z 24 ]]
  845. + string='Terminal\033[0m\033[0m:\033[0m /dev/tty1'
  846. + string='\033[1mTerminal\033[0m\033[0m:\033[0m /dev/tty1'
  847. + printf '%b\n' '\033[38C\033[1mTerminal\033[0m\033[0m:\033[0m /dev/tty1\033[0m'
  848. + (( ++info_height ))
  849. + prin=1
  850. + unset -v subtitle
  851. + info 'Terminal Font' term_font
  852. + [[ -n term_font ]]
  853. + subtitle='Terminal Font'
  854. + unset -v prin
  855. + get_term_font
  856. + (( term_run != 1 ))
  857. + case "$term" in
  858. + [[ -n '' ]]
  859. /usr/bin/neofetch: line 2933: Terminal Font: bad substitution
  860. + output=
  861. + [[ -n term_font ]]
  862. + [[ -n '' ]]
  863. + [[ -n '' ]]
  864. + err 'Info: Couldn'\''t detect Terminal Font.'
  865. ++ color 1
  866. ++ case "$1" in
  867. ++ printf %b '\033[0m\033[31m'
  868. + err+='[!]\033[0m Info: Couldn'\''t detect Terminal Font.\n'
  869. + unset -v subtitle
  870. + info CPU cpu
  871. + [[ -n cpu ]]
  872. + subtitle=CPU
  873. + unset -v prin
  874. + get_cpu
  875. + [[ on Windows 10 x86_64 == \N\e\t\B\S\D* ]]
  876. + case "$os" in
  877. + cpu_file=/proc/cpuinfo
  878. + case "$machine_arch" in
  879. ++ awk -F ': | @' '/model name|Processor|^cpu model|chip type|^cpu type/\
  880. {printf $2; exit}' /proc/cpuinfo
  881. + cpu='AMD Phenom(tm) II X6 1055T Processor'
  882. + [[ AMD Phenom(tm) II X6 1055T Processor == *\p\r\o\c\e\s\s\o\r\ \r\e\v* ]]
  883. + speed_dir=/sys/devices/system/cpu/cpu0/cpufreq
  884. + temp_dir=/sys/class/hwmon/hwmon0/temp1_input
  885. + [[ -d /sys/devices/system/cpu/cpu0/cpufreq ]]
  886. /usr/bin/neofetch: line 917: /sys/devices/system/cpu/cpu0/cpufreq/bios_limit: No such file or directory
  887. + speed=
  888. /usr/bin/neofetch: line 918: /sys/devices/system/cpu/cpu0/cpufreq/bios_limit: No such file or directory
  889. + speed=
  890. + speed=2809000
  891. + speed=2809
  892. + [[ -f /sys/class/hwmon/hwmon0/temp1_input ]]
  893. + case "$cpu_cores" in
  894. ++ grep -c '^processor' /proc/cpuinfo
  895. + cores=6
  896. + cpu='AMD Phenom II X6 1055T Processor'
  897. + cpu='AMD Phenom II X6 1055T Processor'
  898. + cpu='AMD Phenom II X6 1055T Processor'
  899. + cpu='AMD Phenom II X6 1055T Processor'
  900. + cpu='AMD Phenom II X6 1055T Processor'
  901. + cpu='AMD Phenom II X6 1055T '
  902. + cpu='AMD Phenom II X6 1055T '
  903. + cpu='AMD Phenom II X6 1055T '
  904. + cpu='AMD Phenom II X6 1055T '
  905. + cpu='AMD Phenom II X6 1055T '
  906. + cpu='AMD Phenom II X6 1055T '
  907. + cpu='AMD Phenom II X6 1055T '
  908. + cpu='AMD Phenom II X6 1055T '
  909. + cpu='AMD Phenom II X6 1055T '
  910. + cpu='AMD Phenom II X6 1055T '
  911. + cpu='AMD Phenom II X6 1055T '
  912. + cpu='AMD Phenom II X6 1055T '
  913. + cpu='AMD Phenom II X6 1055T '
  914. + cores=6
  915. + speed=2809
  916. + [[ on == \o\f\f ]]
  917. + [[ logical != \o\f\f ]]
  918. + [[ -n 6 ]]
  919. + case "$os" in
  920. + cpu='AMD Phenom II X6 1055T (6)'
  921. + [[ on != \o\f\f ]]
  922. + [[ -n 2809 ]]
  923. + (( speed < 1000 ))
  924. + [[ off == \o\n ]]
  925. + speed=2.809
  926. + cpu='AMD Phenom II X6 1055T (6) @ 2.809GHz'
  927. + [[ off != \o\f\f ]]
  928. + [[ -n '' ]]
  929. ++ trim 'AMD Phenom II X6 1055T (6) @ 2.809GHz'
  930. ++ set -f
  931. ++ builtin echo -E AMD Phenom II X6 1055T '(6)' @ 2.809GHz
  932. ++ set +f
  933. + output='AMD Phenom II X6 1055T (6) @ 2.809GHz'
  934. + [[ -n cpu ]]
  935. + [[ -n AMDPhenomIIX61055T(6)@2.809GHz ]]
  936. + prin CPU 'AMD Phenom II X6 1055T (6) @ 2.809GHz'
  937. ++ trim CPU
  938. ++ set -f
  939. ++ builtin echo -E CPU
  940. ++ set +f
  941. + [[ -n CPU ]]
  942. + [[ -n AMD Phenom II X6 1055T (6) @ 2.809GHz ]]
  943. + string='CPU: AMD Phenom II X6 1055T (6) @ 2.809GHz'
  944. ++ trim 'CPU: AMD Phenom II X6 1055T (6) @ 2.809GHz'
  945. ++ set -f
  946. ++ builtin echo -E CPU: AMD Phenom II X6 1055T '(6)' @ 2.809GHz
  947. ++ set +f
  948. + string='CPU: AMD Phenom II X6 1055T (6) @ 2.809GHz'
  949. + [[ -z 24 ]]
  950. + string='CPU\033[0m\033[0m:\033[0m AMD Phenom II X6 1055T (6) @ 2.809GHz'
  951. + string='\033[1mCPU\033[0m\033[0m:\033[0m AMD Phenom II X6 1055T (6) @ 2.809GHz'
  952. + printf '%b\n' '\033[38C\033[1mCPU\033[0m\033[0m:\033[0m AMD Phenom II X6 1055T (6) @ 2.809GHz\033[0m'
  953. + (( ++info_height ))
  954. + prin=1
  955. + unset -v subtitle
  956. + info GPU gpu
  957. + [[ -n gpu ]]
  958. + subtitle=GPU
  959. + unset -v prin
  960. + get_gpu
  961. + case "$os" in
  962. + IFS='
  963. '
  964. + gpus=($(lspci -mm | awk -F '\\"|\\" \\"|\\(' '/"Display|"3D|"VGA/ {a[$0] = $3 " " $4} END{for(i in a)
  965. {if(!seen[a[i]]++) print a[i]}}'))
  966. ++ lspci -mm
  967. /usr/bin/neofetch: line 1172: lspci: command not found
  968. ++ awk -F '\\"|\\" \\"|\\(' '/"Display|"3D|"VGA/ {a[$0] = $3 " " $4} END{for(i in a)
  969. {if(!seen[a[i]]++) print a[i]}}'
  970. + IFS='
  971. '
  972. + (( 0 > 1 ))
  973. + return
  974. + [[ -n '' ]]
  975. ++ trim ''
  976. ++ set -f
  977. ++ builtin echo -E
  978. ++ set +f
  979. + output=
  980. + [[ -n gpu ]]
  981. + [[ -n '' ]]
  982. + [[ -n '' ]]
  983. + err 'Info: Couldn'\''t detect GPU.'
  984. ++ color 1
  985. ++ case "$1" in
  986. ++ printf %b '\033[0m\033[31m'
  987. + err+='[!]\033[0m Info: Couldn'\''t detect GPU.\n'
  988. + unset -v subtitle
  989. + info Memory memory
  990. + [[ -n memory ]]
  991. + subtitle=Memory
  992. + unset -v prin
  993. + get_memory
  994. + case "$os" in
  995. + IFS=:
  996. + read -r a b
  997. + case "$a" in
  998. + mem_used=6289584
  999. + mem_total=' 6289584 '
  1000. + IFS=:
  1001. + read -r a b
  1002. + case "$a" in
  1003. + mem_used=3976724
  1004. + IFS=:
  1005. + read -r a b
  1006. + case "$a" in
  1007. + mem_used=3942692
  1008. + IFS=:
  1009. + read -r a b
  1010. + case "$a" in
  1011. + mem_used=3754116
  1012. + IFS=:
  1013. + read -r a b
  1014. + case "$a" in
  1015. + IFS=:
  1016. + read -r a b
  1017. + case "$a" in
  1018. + IFS=:
  1019. + read -r a b
  1020. + case "$a" in
  1021. + IFS=:
  1022. + read -r a b
  1023. + case "$a" in
  1024. + IFS=:
  1025. + read -r a b
  1026. + case "$a" in
  1027. + IFS=:
  1028. + read -r a b
  1029. + case "$a" in
  1030. + IFS=:
  1031. + read -r a b
  1032. + case "$a" in
  1033. + IFS=:
  1034. + read -r a b
  1035. + case "$a" in
  1036. + IFS=:
  1037. + read -r a b
  1038. + case "$a" in
  1039. + IFS=:
  1040. + read -r a b
  1041. + case "$a" in
  1042. + IFS=:
  1043. + read -r a b
  1044. + case "$a" in
  1045. + IFS=:
  1046. + read -r a b
  1047. + case "$a" in
  1048. + IFS=:
  1049. + read -r a b
  1050. + case "$a" in
  1051. + IFS=:
  1052. + read -r a b
  1053. + case "$a" in
  1054. + IFS=:
  1055. + read -r a b
  1056. + case "$a" in
  1057. + IFS=:
  1058. + read -r a b
  1059. + case "$a" in
  1060. + mem_used=3771836
  1061. + IFS=:
  1062. + read -r a b
  1063. + case "$a" in
  1064. + IFS=:
  1065. + read -r a b
  1066. + case "$a" in
  1067. + mem_used=3765092
  1068. + IFS=:
  1069. + read -r a b
  1070. + case "$a" in
  1071. + IFS=:
  1072. + read -r a b
  1073. + case "$a" in
  1074. + IFS=:
  1075. + read -r a b
  1076. + case "$a" in
  1077. + IFS=:
  1078. + read -r a b
  1079. + case "$a" in
  1080. + IFS=:
  1081. + read -r a b
  1082. + case "$a" in
  1083. + IFS=:
  1084. + read -r a b
  1085. + case "$a" in
  1086. + IFS=:
  1087. + read -r a b
  1088. + case "$a" in
  1089. + IFS=:
  1090. + read -r a b
  1091. + case "$a" in
  1092. + IFS=:
  1093. + read -r a b
  1094. + case "$a" in
  1095. + IFS=:
  1096. + read -r a b
  1097. + case "$a" in
  1098. + IFS=:
  1099. + read -r a b
  1100. + case "$a" in
  1101. + IFS=:
  1102. + read -r a b
  1103. + case "$a" in
  1104. + IFS=:
  1105. + read -r a b
  1106. + case "$a" in
  1107. + IFS=:
  1108. + read -r a b
  1109. + case "$a" in
  1110. + IFS=:
  1111. + read -r a b
  1112. + case "$a" in
  1113. + IFS=:
  1114. + read -r a b
  1115. + case "$a" in
  1116. + IFS=:
  1117. + read -r a b
  1118. + case "$a" in
  1119. + IFS=:
  1120. + read -r a b
  1121. + case "$a" in
  1122. + IFS=:
  1123. + read -r a b
  1124. + case "$a" in
  1125. + IFS=:
  1126. + read -r a b
  1127. + case "$a" in
  1128. + IFS=:
  1129. + read -r a b
  1130. + mem_used=3676
  1131. + mem_total=6142
  1132. + memory='3676MiB / 6142MiB'
  1133. + case "$memory_display" in
  1134. + [[ -n '' ]]
  1135. ++ trim '3676MiB / 6142MiB'
  1136. ++ set -f
  1137. ++ builtin echo -E 3676MiB / 6142MiB
  1138. ++ set +f
  1139. + output='3676MiB / 6142MiB'
  1140. + [[ -n memory ]]
  1141. + [[ -n 3676MiB/6142MiB ]]
  1142. + prin Memory '3676MiB / 6142MiB'
  1143. ++ trim Memory
  1144. ++ set -f
  1145. ++ builtin echo -E Memory
  1146. ++ set +f
  1147. + [[ -n Memory ]]
  1148. + [[ -n 3676MiB / 6142MiB ]]
  1149. + string='Memory: 3676MiB / 6142MiB'
  1150. ++ trim 'Memory: 3676MiB / 6142MiB'
  1151. ++ set -f
  1152. ++ builtin echo -E Memory: 3676MiB / 6142MiB
  1153. ++ set +f
  1154. + string='Memory: 3676MiB / 6142MiB'
  1155. + [[ -z 24 ]]
  1156. + string='Memory\033[0m\033[0m:\033[0m 3676MiB / 6142MiB'
  1157. + string='\033[1mMemory\033[0m\033[0m:\033[0m 3676MiB / 6142MiB'
  1158. + printf '%b\n' '\033[38C\033[1mMemory\033[0m\033[0m:\033[0m 3676MiB / 6142MiB\033[0m'
  1159. + (( ++info_height ))
  1160. + prin=1
  1161. + unset -v subtitle
  1162. + info line_break
  1163. + [[ -n '' ]]
  1164. + unset -v prin
  1165. + get_line_break
  1166. + printf '%b\n' ''
  1167. + (( ++info_height ))
  1168. + line_breaks+='\n'
  1169. + prin=1
  1170. + [[ -n 1 ]]
  1171. + return
  1172. + info cols
  1173. + [[ -n '' ]]
  1174. + unset -v prin
  1175. + get_cols
  1176. + [[ on == \o\n ]]
  1177. + printf -v block_width %3s
  1178. + start=0
  1179. + end=7
  1180. + (( start ))
  1181. + (( start<=end ))
  1182. + case "$start" in
  1183. + blocks+='\033[0m\033[30m\033[40m '
  1184. + (( start++ ))
  1185. + (( start<=end ))
  1186. + case "$start" in
  1187. + blocks+='\033[0m\033[31m\033[41m '
  1188. + (( start++ ))
  1189. + (( start<=end ))
  1190. + case "$start" in
  1191. + blocks+='\033[0m\033[32m\033[42m '
  1192. + (( start++ ))
  1193. + (( start<=end ))
  1194. + case "$start" in
  1195. + blocks+='\033[0m\033[33m\033[43m '
  1196. + (( start++ ))
  1197. + (( start<=end ))
  1198. + case "$start" in
  1199. + blocks+='\033[0m\033[34m\033[44m '
  1200. + (( start++ ))
  1201. + (( start<=end ))
  1202. + case "$start" in
  1203. + blocks+='\033[0m\033[35m\033[45m '
  1204. + (( start++ ))
  1205. + (( start<=end ))
  1206. + case "$start" in
  1207. + blocks+='\033[0m\033[36m\033[46m '
  1208. + (( start++ ))
  1209. + (( start<=end ))
  1210. + case "$start" in
  1211. + blocks+='\033[0m\033[37m\033[47m '
  1212. + (( start++ ))
  1213. + (( start<=end ))
  1214. + printf -v block_spaces %1s
  1215. + [[ -n \033[0m\033[30m\033[40m \033[0m\033[31m\033[41m \033[0m\033[32m\033[42m \033[0m\033[33m\033[43m \033[0m\033[34m\033[44m \033[0m\033[35m\033[45m \033[0m\033[36m\033[46m \033[0m\033[37m\033[47m ]]
  1216. + cols+='\033[0m\033[30m\033[40m \033[0m\033[31m\033[41m \033[0m\033[32m\033[42m \033[0m\033[33m\033[43m \033[0m\033[34m\033[44m \033[0m\033[35m\033[45m \033[0m\033[36m\033[46m \033[0m\033[37m\033[47m \033[0mnl'
  1217. + [[ -n '' ]]
  1218. + cols='\033[0m\033[30m\033[40m \033[0m\033[31m\033[41m \033[0m\033[32m\033[42m \033[0m\033[33m\033[43m \033[0m\033[34m\033[44m \033[0m\033[35m\033[45m \033[0m\033[36m\033[46m \033[0m\033[37m\033[47m \033[0m'
  1219. + cols='\033[0m\033[30m\033[40m \033[0m\033[31m\033[41m \033[0m\033[32m\033[42m \033[0m\033[33m\033[43m \033[0m\033[34m\033[44m \033[0m\033[35m\033[45m \033[0m\033[36m\033[46m \033[0m\033[37m\033[47m \033[0m'
  1220. + info_height=13
  1221. + printf '%b\n' '\033[38C\033[0m\033[30m\033[40m \033[0m\033[31m\033[41m \033[0m\033[32m\033[42m \033[0m\033[33m\033[43m \033[0m\033[34m\033[44m \033[0m\033[35m\033[45m \033[0m\033[36m\033[46m \033[0m\033[37m\033[47m \033[0m'
  1222. + unset -v blocks blocks2 cols
  1223. + prin=1
  1224. + [[ -n 1 ]]
  1225. + return
  1226. + info line_break
  1227. + [[ -n '' ]]
  1228. + unset -v prin
  1229. + get_line_break
  1230. + printf '%b\n' ''
  1231. + (( ++info_height ))
  1232. + line_breaks+='\n'
  1233. + prin=1
  1234. + [[ -n 1 ]]
  1235. + return
  1236. + dynamic_prompt
  1237. + case "$image_backend" in
  1238. + printf '\n'
  1239. + (( lines < info_height ))
  1240. + [[ -n '' ]]
  1241. + lines=5
  1242. + (( lines > 0 ))
  1243. + printf %b '\033[5B'
  1244. + [[ ascii == *w3m* ]]
  1245. + [[ off == \o\n ]]
  1246. + [[ on == \o\n ]]
  1247. + printf %b '[!]\033[0m Config: Sourced default config. (/etc/neofetch/config.conf)\n[!]\033[0m Config: Sourced user config. (/home/cery92/.config/neofetch/config.conf)\n[!]\033[0m Info: Couldn'\''t detect Host.\n[!]\033[0m Info: Couldn'\''t detect Resolution.\n[!]\033[0m Info: Couldn'\''t detect DE.\n[!]\033[0m Info: Couldn'\''t detect WM.\n[!]\033[0m Info: Couldn'\''t detect WM Theme.\n[!]\033[0m Info: Couldn'\''t detect Theme.\n[!]\033[0m Info: Couldn'\''t detect Icons.\n[!]\033[0m Info: Couldn'\''t detect Terminal Font.\n[!]\033[0m Info: Couldn'\''t detect GPU.\n'
  1248. [!] Config: Sourced default config. (/etc/neofetch/config.conf)
  1249. [!] Config: Sourced user config. (/home/cery92/.config/neofetch/config.conf)
  1250. [!] Info: Couldn't detect Host.
  1251. [!] Info: Couldn't detect Resolution.
  1252. [!] Info: Couldn't detect DE.
  1253. [!] Info: Couldn't detect WM.
  1254. [!] Info: Couldn't detect WM Theme.
  1255. [!] Info: Couldn't detect Theme.
  1256. [!] Info: Couldn't detect Icons.
  1257. [!] Info: Couldn't detect Terminal Font.
  1258. [!] Info: Couldn't detect GPU.
  1259. + [[ off == \o\n ]]
  1260. + return 0
  1261. + printf '\033[?25h\033[?7h'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement