Guest User

Untitled

a guest
Sep 8th, 2020
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 58.65 KB | None | 0 0
  1. + verbose=on
  2. + shift
  3. + [[ -n '' ]]
  4. + [[ on != on ]]
  5. + get_simple -vv
  6. + [[ -n -vv ]]
  7. ++ type -t get_-vv
  8. + [[ '' == \f\u\n\c\t\i\o\n ]]
  9. + shift
  10. + [[ -n '' ]]
  11. + (( simple ))
  12. + get_distro
  13. + [[ -n '' ]]
  14. + case $os in
  15. + [[ -f /bedrock/etc/bedrock-release ]]
  16. + [[ -f /etc/redstar-release ]]
  17. + [[ -f /etc/siduction-version ]]
  18. + [[ -f /etc/mcst_version ]]
  19. + type -p pveversion
  20. + type -p lsb_release
  21. + [[ -f /etc/os-release ]]
  22. + for file in /etc/lsb-release /usr/lib/os-release /etc/os-release /etc/openwrt_release
  23. + source /etc/lsb-release
  24. /usr/bin/neofetch: line 1007: /etc/lsb-release: No such file or directory
  25. + for file in /etc/lsb-release /usr/lib/os-release /etc/os-release /etc/openwrt_release
  26. + source /usr/lib/os-release
  27. ++ NAME=Fedora
  28. ++ VERSION='32 (Workstation Edition)'
  29. ++ ID=fedora
  30. ++ VERSION_ID=32
  31. ++ VERSION_CODENAME=
  32. ++ PLATFORM_ID=platform:f32
  33. ++ PRETTY_NAME='Fedora 32 (Workstation Edition)'
  34. ++ ANSI_COLOR='0;34'
  35. ++ LOGO=fedora-logo-icon
  36. ++ CPE_NAME=cpe:/o:fedoraproject:fedora:32
  37. ++ HOME_URL=https://fedoraproject.org/
  38. ++ DOCUMENTATION_URL=https://docs.fedoraproject.org/en-US/fedora/f32/system-administrators-guide/
  39. ++ SUPPORT_URL=https://fedoraproject.org/wiki/Communicating_and_getting_help
  40. ++ BUG_REPORT_URL=https://bugzilla.redhat.com/
  41. ++ REDHAT_BUGZILLA_PRODUCT=Fedora
  42. ++ REDHAT_BUGZILLA_PRODUCT_VERSION=32
  43. ++ REDHAT_SUPPORT_PRODUCT=Fedora
  44. ++ REDHAT_SUPPORT_PRODUCT_VERSION=32
  45. ++ PRIVACY_POLICY_URL=https://fedoraproject.org/wiki/Legal:PrivacyPolicy
  46. ++ VARIANT='Workstation Edition'
  47. ++ VARIANT_ID=workstation
  48. + break
  49. + case $distro_shorthand in
  50. + distro='Fedora 32 (Workstation Edition) '
  51. + [[ Linux version 5.8.4-200.fc32.x86_64 ([email protected]) (gcc (GCC) 10.2.1 20200723 (Red Hat 10.2.1-1), GNU ld version 2.34-4.fc32) #1 SMP Wed Aug 26 22:28:08 UTC 2020 == *Microsoft* ]]
  52. + [[ 5.8.4-200.fc32.x86_64 == *Microsoft* ]]
  53. + [[ Linux version 5.8.4-200.fc32.x86_64 ([email protected]) (gcc (GCC) 10.2.1 20200723 (Red Hat 10.2.1-1), GNU ld version 2.34-4.fc32) #1 SMP Wed Aug 26 22:28:08 UTC 2020 == *chrome-bot* ]]
  54. + [[ -f /dev/cros_ec ]]
  55. ++ trim_quotes 'Fedora 32 (Workstation Edition) '
  56. ++ trim_output='Fedora 32 (Workstation Edition) '
  57. ++ trim_output='Fedora 32 (Workstation Edition) '
  58. ++ printf %s 'Fedora 32 (Workstation Edition) '
  59. + distro='Fedora 32 (Workstation Edition) '
  60. + distro='Fedora 32 (Workstation Edition) '
  61. + [[ Fedora 32 (Workstation Edition) == \U\b\u\n\t\u* ]]
  62. + distro='Fedora 32 (Workstation Edition) '
  63. + [[ -n Fedora 32 (Workstation Edition) ]]
  64. + case $os in
  65. + machine_arch=x86_64
  66. + [[ on == on ]]
  67. + distro+=' x86_64'
  68. + [[ auto == auto ]]
  69. ++ trim 'Fedora 32 (Workstation Edition) x86_64'
  70. ++ set -f
  71. ++ set -- Fedora 32 '(Workstation' 'Edition)' x86_64
  72. ++ printf '%s\n' 'Fedora 32 (Workstation Edition) x86_64'
  73. ++ set +f
  74. + ascii_distro='Fedora 32 (Workstation Edition) x86_64'
  75. + get_bold
  76. + case $ascii_bold in
  77. + ascii_bold='\e[1m'
  78. + case $bold in
  79. + bold='\e[1m'
  80. + get_distro_ascii
  81. + case $(trim "$ascii_distro") in
  82. ++ trim 'Fedora 32 (Workstation Edition) x86_64'
  83. ++ set -f
  84. ++ set -- Fedora 32 '(Workstation' 'Edition)' x86_64
  85. ++ printf '%s\n' 'Fedora 32 (Workstation Edition) x86_64'
  86. ++ set +f
  87. + set_colors 4 7 1
  88. ++ color 4
  89. ++ case $1 in
  90. ++ printf '%b\e[3%sm' '\e[0m' 4
  91. + c1='\e[1m'
  92. ++ color 7
  93. ++ case $1 in
  94. ++ printf '\e[37m%b' '\e[0m'
  95. + c2='\e[1m'
  96. ++ color 1
  97. ++ case $1 in
  98. ++ printf '%b\e[3%sm' '\e[0m' 1
  99. + c3='\e[1m'
  100. ++ color ''
  101. ++ case $1 in
  102. ++ printf '\e[38;5;%bm' ''
  103. + c4='\e[1m'
  104. ++ color ''
  105. ++ case $1 in
  106. ++ printf '\e[38;5;%bm' ''
  107. + c5='\e[1m'
  108. ++ color ''
  109. ++ case $1 in
  110. ++ printf '\e[38;5;%bm' ''
  111. + c6='\e[1m'
  112. + [[ '' != \o\f\f ]]
  113. + set_text_colors 4 7 1
  114. + [[ distro == \d\i\s\t\r\o ]]
  115. ++ color 4
  116. ++ case $1 in
  117. ++ printf '%b\e[3%sm' '\e[0m' 4
  118. + title_color=''
  119. + at_color='\e[0m'
  120. + underline_color='\e[0m'
  121. ++ color 7
  122. ++ case $1 in
  123. ++ printf '\e[37m%b' '\e[0m'
  124. + subtitle_color=''
  125. + colon_color='\e[0m'
  126. + info_color='\e[0m'
  127. + (( 4 == 8 ))
  128. + (( 7 == 8 ))
  129. + (( 7 == 7 ))
  130. ++ color 4
  131. ++ case $1 in
  132. ++ printf '%b\e[3%sm' '\e[0m' 4
  133. + subtitle_color=''
  134. + (( 4 == 7 ))
  135. + [[ distro == \d\i\s\t\r\o ]]
  136. ++ color fg
  137. ++ case $1 in
  138. ++ printf '\e[37m%b' '\e[0m'
  139. + bar_color_elapsed=''
  140. + case ${bar_color_total}${1} in
  141. ++ color 7
  142. ++ case $1 in
  143. ++ printf '\e[37m%b' '\e[0m'
  144. + bar_color_total=''
  145. + read -rd '' ascii_data
  146. + [[ distro != distro ]]
  147. + [[ off == on ]]
  148. + [[ xterm-256color != minix ]]
  149. + [[ off != on ]]
  150. + trap 'printf "\e[?25h\e[?7h"' EXIT
  151. + printf '\e[?25l\e[?7l'
  152. + image_backend
  153. + [[ ascii != \o\f\f ]]
  154. + type -p convert
  155. + image_backend=ascii
  156. + err 'Image: Imagemagick not found, falling back to ascii mode.'
  157. ++ color 1
  158. ++ case $1 in
  159. ++ printf '%b\e[3%sm' '\e[0m' 1
  160. + err+='[!]\e[0m Image: Imagemagick not found, falling back to ascii mode.
  161. '
  162. + case ${image_backend:-off} in
  163. + print_ascii
  164. + [[ -f auto ]]
  165. + [[ auto == \a\s\c\i\i ]]
  166. + [[ auto == auto ]]
  167. + :
  168. + LC_ALL=en_US.UTF-8
  169. + IFS='
  170. '
  171. + read -r line
  172. + line=' /:-------------:\'
  173. + line=' /:-------------:\'
  174. + (( ++lines,27>ascii_len ))
  175. + ascii_len=27
  176. + IFS='
  177. '
  178. + read -r line
  179. + line=' :-------------------::'
  180. + line=' :-------------------::'
  181. + (( ++lines,29>ascii_len ))
  182. + ascii_len=29
  183. + IFS='
  184. '
  185. + read -r line
  186. + line=' :-----------/shhOHbmp---:\'
  187. + line=' :-----------/shhOHbmp---:\'
  188. + (( ++lines,31>ascii_len ))
  189. + ascii_len=31
  190. + IFS='
  191. '
  192. + read -r line
  193. + line=' /-----------omMMMNNNMMD ---:'
  194. + line=' /-----------omMMMNNNMMD ---:'
  195. + (( ++lines,32>ascii_len ))
  196. + ascii_len=32
  197. + IFS='
  198. '
  199. + read -r line
  200. + line=' :-----------sMMMMNMNMP. ---:'
  201. + line=' :-----------sMMMMNMNMP. ---:'
  202. + (( ++lines,33>ascii_len ))
  203. + ascii_len=33
  204. + IFS='
  205. '
  206. + read -r line
  207. + line=' :-----------:MMMdP------- ---\'
  208. + line=' :-----------:MMMdP------- ---\'
  209. + (( ++lines,34>ascii_len ))
  210. + ascii_len=34
  211. + IFS='
  212. '
  213. + read -r line
  214. + line=',------------:MMMd-------- ---:'
  215. + line=',------------:MMMd-------- ---:'
  216. + (( ++lines,34>ascii_len ))
  217. + IFS='
  218. '
  219. + read -r line
  220. + line=':------------:MMMd------- .---:'
  221. + line=':------------:MMMd------- .---:'
  222. + (( ++lines,34>ascii_len ))
  223. + IFS='
  224. '
  225. + read -r line
  226. + line=':---- oNMMMMMMMMMNho .----:'
  227. + line=':---- oNMMMMMMMMMNho .----:'
  228. + (( ++lines,34>ascii_len ))
  229. + IFS='
  230. '
  231. + read -r line
  232. + line=':-- .+shhhMMMmhhy++ .------/'
  233. + line=':-- .+shhhMMMmhhy++ .------/'
  234. + (( ++lines,34>ascii_len ))
  235. + IFS='
  236. '
  237. + read -r line
  238. + line=':- -------:MMMd--------------:'
  239. + line=':- -------:MMMd--------------:'
  240. + (( ++lines,33>ascii_len ))
  241. + IFS='
  242. '
  243. + read -r line
  244. + line=':- --------/MMMd-------------;'
  245. + line=':- --------/MMMd-------------;'
  246. + (( ++lines,32>ascii_len ))
  247. + IFS='
  248. '
  249. + read -r line
  250. + line=':- ------/hMMMy------------:'
  251. + line=':- ------/hMMMy------------:'
  252. + (( ++lines,31>ascii_len ))
  253. + IFS='
  254. '
  255. + read -r line
  256. + line=':-- :dMNdhhdNMMNo------------;'
  257. + line=':-- :dMNdhhdNMMNo------------;'
  258. + (( ++lines,30>ascii_len ))
  259. + IFS='
  260. '
  261. + read -r line
  262. + line=:---:sdNMMMMNds:------------:
  263. + line=:---:sdNMMMMNds:------------:
  264. + (( ++lines,29>ascii_len ))
  265. + IFS='
  266. '
  267. + read -r line
  268. + line=:------:://:-------------::
  269. + line=:------:://:-------------::
  270. + (( ++lines,27>ascii_len ))
  271. + IFS='
  272. '
  273. + read -r line
  274. + line=:---------------------://
  275. + line=:---------------------://
  276. + (( ++lines,25>ascii_len ))
  277. + IFS='
  278. '
  279. + read -r line
  280. + (( lines==1 ))
  281. + ascii_data='\e[1m /:-------------:\\
  282. :-------------------::
  283. :-----------${c2}/shhOHbmp\e[1m---:\\
  284. /-----------${c2}omMMMNNNMMD \e[1m---:
  285. :-----------${c2}sMMMMNMNMP\e[1m. ---:
  286. :-----------${c2}:MMMdP\e[1m------- ---\\
  287. ,------------${c2}:MMMd\e[1m-------- ---:
  288. :------------${c2}:MMMd\e[1m------- .---:
  289. :---- ${c2}oNMMMMMMMMMNho\e[1m .----:
  290. :-- .${c2}+shhhMMMmhhy++\e[1m .------/
  291. :- -------${c2}:MMMd\e[1m--------------:
  292. :- --------${c2}/MMMd\e[1m-------------;
  293. :- ------${c2}/hMMMy\e[1m------------:
  294. :--${c2} :dMNdhhdNMMNo\e[1m------------;
  295. :---${c2}:sdNMMMMNds:\e[1m------------:
  296. :------${c2}:://:\e[1m-------------::
  297. :---------------------://'
  298. + ascii_data='\e[1m /:-------------:\\
  299. :-------------------::
  300. :-----------\e[1m/shhOHbmp\e[1m---:\\
  301. /-----------\e[1momMMMNNNMMD \e[1m---:
  302. :-----------\e[1msMMMMNMNMP\e[1m. ---:
  303. :-----------\e[1m:MMMdP\e[1m------- ---\\
  304. ,------------\e[1m:MMMd\e[1m-------- ---:
  305. :------------\e[1m:MMMd\e[1m------- .---:
  306. :---- \e[1moNMMMMMMMMMNho\e[1m .----:
  307. :-- .\e[1m+shhhMMMmhhy++\e[1m .------/
  308. :- -------\e[1m:MMMd\e[1m--------------:
  309. :- --------\e[1m/MMMd\e[1m-------------;
  310. :- ------\e[1m/hMMMy\e[1m------------:
  311. :--\e[1m :dMNdhhdNMMNo\e[1m------------;
  312. :---\e[1m:sdNMMMMNds:\e[1m------------:
  313. :------\e[1m:://:\e[1m-------------::
  314. :---------------------://'
  315. + ascii_data='\e[1m /:-------------:\\
  316. :-------------------::
  317. :-----------\e[1m/shhOHbmp\e[1m---:\\
  318. /-----------\e[1momMMMNNNMMD \e[1m---:
  319. :-----------\e[1msMMMMNMNMP\e[1m. ---:
  320. :-----------\e[1m:MMMdP\e[1m------- ---\\
  321. ,------------\e[1m:MMMd\e[1m-------- ---:
  322. :------------\e[1m:MMMd\e[1m------- .---:
  323. :---- \e[1moNMMMMMMMMMNho\e[1m .----:
  324. :-- .\e[1m+shhhMMMmhhy++\e[1m .------/
  325. :- -------\e[1m:MMMd\e[1m--------------:
  326. :- --------\e[1m/MMMd\e[1m-------------;
  327. :- ------\e[1m/hMMMy\e[1m------------:
  328. :--\e[1m :dMNdhhdNMMNo\e[1m------------;
  329. :---\e[1m:sdNMMMMNds:\e[1m------------:
  330. :------\e[1m:://:\e[1m-------------::
  331. :---------------------://'
  332. + ascii_data='\e[1m /:-------------:\\
  333. :-------------------::
  334. :-----------\e[1m/shhOHbmp\e[1m---:\\
  335. /-----------\e[1momMMMNNNMMD \e[1m---:
  336. :-----------\e[1msMMMMNMNMP\e[1m. ---:
  337. :-----------\e[1m:MMMdP\e[1m------- ---\\
  338. ,------------\e[1m:MMMd\e[1m-------- ---:
  339. :------------\e[1m:MMMd\e[1m------- .---:
  340. :---- \e[1moNMMMMMMMMMNho\e[1m .----:
  341. :-- .\e[1m+shhhMMMmhhy++\e[1m .------/
  342. :- -------\e[1m:MMMd\e[1m--------------:
  343. :- --------\e[1m/MMMd\e[1m-------------;
  344. :- ------\e[1m/hMMMy\e[1m------------:
  345. :--\e[1m :dMNdhhdNMMNo\e[1m------------;
  346. :---\e[1m:sdNMMMMNds:\e[1m------------:
  347. :------\e[1m:://:\e[1m-------------::
  348. :---------------------://'
  349. + ascii_data='\e[1m /:-------------:\\
  350. :-------------------::
  351. :-----------\e[1m/shhOHbmp\e[1m---:\\
  352. /-----------\e[1momMMMNNNMMD \e[1m---:
  353. :-----------\e[1msMMMMNMNMP\e[1m. ---:
  354. :-----------\e[1m:MMMdP\e[1m------- ---\\
  355. ,------------\e[1m:MMMd\e[1m-------- ---:
  356. :------------\e[1m:MMMd\e[1m------- .---:
  357. :---- \e[1moNMMMMMMMMMNho\e[1m .----:
  358. :-- .\e[1m+shhhMMMmhhy++\e[1m .------/
  359. :- -------\e[1m:MMMd\e[1m--------------:
  360. :- --------\e[1m/MMMd\e[1m-------------;
  361. :- ------\e[1m/hMMMy\e[1m------------:
  362. :--\e[1m :dMNdhhdNMMNo\e[1m------------;
  363. :---\e[1m:sdNMMMMNds:\e[1m------------:
  364. :------\e[1m:://:\e[1m-------------::
  365. :---------------------://'
  366. + ascii_data='\e[1m /:-------------:\\
  367. :-------------------::
  368. :-----------\e[1m/shhOHbmp\e[1m---:\\
  369. /-----------\e[1momMMMNNNMMD \e[1m---:
  370. :-----------\e[1msMMMMNMNMP\e[1m. ---:
  371. :-----------\e[1m:MMMdP\e[1m------- ---\\
  372. ,------------\e[1m:MMMd\e[1m-------- ---:
  373. :------------\e[1m:MMMd\e[1m------- .---:
  374. :---- \e[1moNMMMMMMMMMNho\e[1m .----:
  375. :-- .\e[1m+shhhMMMmhhy++\e[1m .------/
  376. :- -------\e[1m:MMMd\e[1m--------------:
  377. :- --------\e[1m/MMMd\e[1m-------------;
  378. :- ------\e[1m/hMMMy\e[1m------------:
  379. :--\e[1m :dMNdhhdNMMNo\e[1m------------;
  380. :---\e[1m:sdNMMMMNds:\e[1m------------:
  381. :------\e[1m:://:\e[1m-------------::
  382. :---------------------://'
  383. + (( text_padding=ascii_len+gap ))
  384. + printf '%b\n' '\e[1m /:-------------:\\
  385. :-------------------::
  386. :-----------\e[1m/shhOHbmp\e[1m---:\\
  387. /-----------\e[1momMMMNNNMMD \e[1m---:
  388. :-----------\e[1msMMMMNMNMP\e[1m. ---:
  389. :-----------\e[1m:MMMdP\e[1m------- ---\\
  390. ,------------\e[1m:MMMd\e[1m-------- ---:
  391. :------------\e[1m:MMMd\e[1m------- .---:
  392. :---- \e[1moNMMMMMMMMMNho\e[1m .----:
  393. :-- .\e[1m+shhhMMMmhhy++\e[1m .------/
  394. :- -------\e[1m:MMMd\e[1m--------------:
  395. :- --------\e[1m/MMMd\e[1m-------------;
  396. :- ------\e[1m/hMMMy\e[1m------------:
  397. :--\e[1m :dMNdhhdNMMNo\e[1m------------;
  398. :---\e[1m:sdNMMMMNds:\e[1m------------:
  399. :------\e[1m:://:\e[1m-------------::
  400. :---------------------://\e[0m'
  401. + LC_ALL=C
  402. + [[ ascii != \o\f\f ]]
  403. + printf '\e[%sA\e[9999999D' 17
  404. + get_cache_dir
  405. + case $os in
  406. + cache_dir=/tmp
  407. + old_functions
  408. + print_info
  409. + info title
  410. + [[ -n '' ]]
  411. + unset -v prin
  412. + get_title
  413. + user=adnan338
  414. + case $title_fqdn in
  415. + hostname=localhost.localdomain
  416. + title='\e[1madnan338\e[0m@\e[1mlocalhost.localdomain'
  417. + length=30
  418. + [[ -n '' ]]
  419. + [[ -n '' ]]
  420. ++ trim '\e[1madnan338\e[0m@\e[1mlocalhost.localdomain'
  421. ++ set -f
  422. ++ set -- '\e[1madnan338\e[0m@\e[1mlocalhost.localdomain'
  423. ++ printf '%s\n' '\e[1madnan338\e[0m@\e[1mlocalhost.localdomain'
  424. ++ set +f
  425. + output='\e[1madnan338\e[0m@\e[1mlocalhost.localdomain'
  426. + [[ -n '' ]]
  427. + [[ -n \e[1madnan338\e[0m@\e[1mlocalhost.localdomain ]]
  428. + prin '\e[1madnan338\e[0m@\e[1mlocalhost.localdomain'
  429. ++ trim '\e[1madnan338\e[0m@\e[1mlocalhost.localdomain'
  430. ++ set -f
  431. ++ set -- '\e[1madnan338\e[0m@\e[1mlocalhost.localdomain'
  432. ++ printf '%s\n' '\e[1madnan338\e[0m@\e[1mlocalhost.localdomain'
  433. ++ set +f
  434. + [[ -n \e[1madnan338\e[0m@\e[1mlocalhost.localdomain ]]
  435. + [[ -n '' ]]
  436. + string='\e[1madnan338\e[0m@\e[1mlocalhost.localdomain'
  437. + local 'subtitle_color=\e[0m'
  438. ++ trim '\e[1madnan338\e[0m@\e[1mlocalhost.localdomain'
  439. ++ set -f
  440. ++ set -- '\e[1madnan338\e[0m@\e[1mlocalhost.localdomain'
  441. ++ printf '%s\n' '\e[1madnan338\e[0m@\e[1mlocalhost.localdomain'
  442. ++ set +f
  443. + string='\e[1madnan338\e[0m@\e[1mlocalhost.localdomain'
  444. ++ strip_sequences '\e[1madnan338\e[0m@\e[1mlocalhost.localdomain'
  445. ++ strip='\e[1madnan338\e[0m@\e[1mlocalhost.localdomain'
  446. ++ strip='\e[1madnan338\e[0m@\e[1mlocalhost.localdomain'
  447. ++ printf '%s\n' [email protected]
  448. + length=30
  449. + string='\e[1madnan338\e[0m@\e[1mlocalhost.localdomain'
  450. + string='\e[0m\e[1m\e[1madnan338\e[0m@\e[1mlocalhost.localdomain'
  451. + printf '%b\n' '\e[37C\e[0m\e[1m\e[1madnan338\e[0m@\e[1mlocalhost.localdomain\e[0m '
  452. + (( ++info_height ))
  453. + prin=1
  454. + unset -v subtitle
  455. + info underline
  456. + [[ -n '' ]]
  457. + unset -v prin
  458. + get_underline
  459. + [[ on == \o\n ]]
  460. + printf -v underline %30s
  461. + printf '%b%b\n' '\e[37C\e[0m' '------------------------------\e[0m '
  462. + (( ++info_height ))
  463. + length=
  464. + prin=1
  465. + [[ -n 1 ]]
  466. + return
  467. + info OS distro
  468. + [[ -n distro ]]
  469. + subtitle=OS
  470. + unset -v prin
  471. + get_distro
  472. + [[ -n Fedora 32 (Workstation Edition) x86_64 ]]
  473. + return
  474. + [[ -n '' ]]
  475. + [[ -n distro ]]
  476. ++ trim 'Fedora 32 (Workstation Edition) x86_64'
  477. ++ set -f
  478. ++ set -- Fedora 32 '(Workstation' 'Edition)' x86_64
  479. ++ printf '%s\n' 'Fedora 32 (Workstation Edition) x86_64'
  480. ++ set +f
  481. + output='Fedora 32 (Workstation Edition) x86_64'
  482. + [[ -n distro ]]
  483. + [[ -n Fedora32(WorkstationEdition)x86_64 ]]
  484. + prin OS 'Fedora 32 (Workstation Edition) x86_64'
  485. ++ trim OS
  486. ++ set -f
  487. ++ set -- OS
  488. ++ printf '%s\n' OS
  489. ++ set +f
  490. + [[ -n OS ]]
  491. + [[ -n Fedora 32 (Workstation Edition) x86_64 ]]
  492. + [[ -n '' ]]
  493. + string='OS: Fedora 32 (Workstation Edition) x86_64'
  494. ++ trim 'OS: Fedora 32 (Workstation Edition) x86_64'
  495. ++ set -f
  496. ++ set -- OS: Fedora 32 '(Workstation' 'Edition)' x86_64
  497. ++ printf '%s\n' 'OS: Fedora 32 (Workstation Edition) x86_64'
  498. ++ set +f
  499. + string='OS: Fedora 32 (Workstation Edition) x86_64'
  500. ++ strip_sequences 'OS: Fedora 32 (Workstation Edition) x86_64'
  501. ++ strip='OS: Fedora 32 (Workstation Edition) x86_64'
  502. ++ strip='OS: Fedora 32 (Workstation Edition) x86_64'
  503. ++ strip='OS: Fedora 32 (Workstation Edition) x86_64'
  504. ++ strip='OS: Fedora 32 (Workstation Edition) x86_64'
  505. ++ strip='OS: Fedora 32 (Workstation Edition) x86_64'
  506. ++ strip='OS: Fedora 32 (Workstation Edition) x86_64'
  507. ++ printf '%s\n' 'OS: Fedora 32 (Workstation Edition) x86_64'
  508. + length='OS: Fedora 32 (Workstation Edition) x86_64'
  509. + length=42
  510. + string='OS\e[0m\e[0m:\e[0m Fedora 32 (Workstation Edition) x86_64'
  511. + string='\e[1mOS\e[0m\e[0m:\e[0m Fedora 32 (Workstation Edition) x86_64'
  512. + printf '%b\n' '\e[37C\e[1mOS\e[0m\e[0m:\e[0m Fedora 32 (Workstation Edition) x86_64\e[0m '
  513. + (( ++info_height ))
  514. + prin=1
  515. + unset -v subtitle
  516. + info Host model
  517. + [[ -n model ]]
  518. + subtitle=Host
  519. + unset -v prin
  520. + get_model
  521. + case $os in
  522. + [[ -d /system/app/ ]]
  523. + [[ -f /sys/devices/virtual/dmi/id/product_name ]]
  524. + model=MS-7C37
  525. + model+=' 2.0'
  526. + model='MS-7C37 2.0'
  527. + model='MS-7C37 2.0'
  528. + model='MS-7C37 2.0'
  529. + model='MS-7C37 2.0'
  530. + model='MS-7C37 2.0'
  531. + model='MS-7C37 2.0'
  532. + model='MS-7C37 2.0'
  533. + model='MS-7C37 2.0'
  534. + model='MS-7C37 2.0'
  535. + model='MS-7C37 2.0'
  536. + model='MS-7C37 2.0'
  537. + model='MS-7C37 2.0'
  538. + model='MS-7C37 2.0'
  539. + case $model in
  540. + [[ -n '' ]]
  541. + [[ -n model ]]
  542. ++ trim 'MS-7C37 2.0'
  543. ++ set -f
  544. ++ set -- MS-7C37 2.0
  545. ++ printf '%s\n' 'MS-7C37 2.0'
  546. ++ set +f
  547. + output='MS-7C37 2.0'
  548. + [[ -n model ]]
  549. + [[ -n MS-7C372.0 ]]
  550. + prin Host 'MS-7C37 2.0'
  551. ++ trim Host
  552. ++ set -f
  553. ++ set -- Host
  554. ++ printf '%s\n' Host
  555. ++ set +f
  556. + [[ -n Host ]]
  557. + [[ -n MS-7C37 2.0 ]]
  558. + [[ -n '' ]]
  559. + string='Host: MS-7C37 2.0'
  560. ++ trim 'Host: MS-7C37 2.0'
  561. ++ set -f
  562. ++ set -- Host: MS-7C37 2.0
  563. ++ printf '%s\n' 'Host: MS-7C37 2.0'
  564. ++ set +f
  565. + string='Host: MS-7C37 2.0'
  566. ++ strip_sequences 'Host: MS-7C37 2.0'
  567. ++ strip='Host: MS-7C37 2.0'
  568. ++ strip='Host: MS-7C37 2.0'
  569. ++ strip='Host: MS-7C37 2.0'
  570. ++ strip='Host: MS-7C37 2.0'
  571. ++ strip='Host: MS-7C37 2.0'
  572. ++ strip='Host: MS-7C37 2.0'
  573. ++ printf '%s\n' 'Host: MS-7C37 2.0'
  574. + length='Host: MS-7C37 2.0'
  575. + length=17
  576. + string='Host\e[0m\e[0m:\e[0m MS-7C37 2.0'
  577. + string='\e[1mHost\e[0m\e[0m:\e[0m MS-7C37 2.0'
  578. + printf '%b\n' '\e[37C\e[1mHost\e[0m\e[0m:\e[0m MS-7C37 2.0\e[0m '
  579. + (( ++info_height ))
  580. + prin=1
  581. + unset -v subtitle
  582. + info Kernel kernel
  583. + [[ -n kernel ]]
  584. + subtitle=Kernel
  585. + unset -v prin
  586. + get_kernel
  587. + [[ Linux =~ (AIX|IRIX) ]]
  588. + [[ Linux == Haiku ]]
  589. + [[ Linux == Windows ]]
  590. + case $kernel_shorthand in
  591. + kernel=5.8.4-200.fc32.x86_64
  592. + [[ Linux =~ (BSD|MINIX) ]]
  593. + [[ -n '' ]]
  594. + [[ -n kernel ]]
  595. ++ trim 5.8.4-200.fc32.x86_64
  596. ++ set -f
  597. ++ set -- 5.8.4-200.fc32.x86_64
  598. ++ printf '%s\n' 5.8.4-200.fc32.x86_64
  599. ++ set +f
  600. + output=5.8.4-200.fc32.x86_64
  601. + [[ -n kernel ]]
  602. + [[ -n 5.8.4-200.fc32.x86_64 ]]
  603. + prin Kernel 5.8.4-200.fc32.x86_64
  604. ++ trim Kernel
  605. ++ set -f
  606. ++ set -- Kernel
  607. ++ printf '%s\n' Kernel
  608. ++ set +f
  609. + [[ -n Kernel ]]
  610. + [[ -n 5.8.4-200.fc32.x86_64 ]]
  611. + [[ -n '' ]]
  612. + string='Kernel: 5.8.4-200.fc32.x86_64'
  613. ++ trim 'Kernel: 5.8.4-200.fc32.x86_64'
  614. ++ set -f
  615. ++ set -- Kernel: 5.8.4-200.fc32.x86_64
  616. ++ printf '%s\n' 'Kernel: 5.8.4-200.fc32.x86_64'
  617. ++ set +f
  618. + string='Kernel: 5.8.4-200.fc32.x86_64'
  619. ++ strip_sequences 'Kernel: 5.8.4-200.fc32.x86_64'
  620. ++ strip='Kernel: 5.8.4-200.fc32.x86_64'
  621. ++ strip='Kernel: 5.8.4-200.fc32.x86_64'
  622. ++ strip='Kernel: 5.8.4-200.fc32.x86_64'
  623. ++ strip='Kernel: 5.8.4-200.fc32.x86_64'
  624. ++ strip='Kernel: 5.8.4-200.fc32.x86_64'
  625. ++ strip='Kernel: 5.8.4-200.fc32.x86_64'
  626. ++ printf '%s\n' 'Kernel: 5.8.4-200.fc32.x86_64'
  627. + length='Kernel: 5.8.4-200.fc32.x86_64'
  628. + length=29
  629. + string='Kernel\e[0m\e[0m:\e[0m 5.8.4-200.fc32.x86_64'
  630. + string='\e[1mKernel\e[0m\e[0m:\e[0m 5.8.4-200.fc32.x86_64'
  631. + printf '%b\n' '\e[37C\e[1mKernel\e[0m\e[0m:\e[0m 5.8.4-200.fc32.x86_64\e[0m '
  632. + (( ++info_height ))
  633. + prin=1
  634. + unset -v subtitle
  635. + info Uptime uptime
  636. + [[ -n uptime ]]
  637. + subtitle=Uptime
  638. + unset -v prin
  639. + get_uptime
  640. + case $os in
  641. + [[ -r /proc/uptime ]]
  642. + s='21468.44 510270.62'
  643. + s=21468
  644. + d='0 days'
  645. + h='5 hours'
  646. + m='57 mins'
  647. + (( 0 == 1 ))
  648. + (( 5 == 1 ))
  649. + (( 57 == 1 ))
  650. + (( 0 == 0 ))
  651. + unset d
  652. + (( 5 == 0 ))
  653. + (( 57 == 0 ))
  654. + uptime='5 hours, 57 mins'
  655. + uptime='5 hours, 57 mins'
  656. + uptime='5 hours, 57 mins'
  657. + case $uptime_shorthand in
  658. + [[ -n '' ]]
  659. + [[ -n uptime ]]
  660. ++ trim '5 hours, 57 mins'
  661. ++ set -f
  662. ++ set -- 5 hours, 57 mins
  663. ++ printf '%s\n' '5 hours, 57 mins'
  664. ++ set +f
  665. + output='5 hours, 57 mins'
  666. + [[ -n uptime ]]
  667. + [[ -n 5hours,57mins ]]
  668. + prin Uptime '5 hours, 57 mins'
  669. ++ trim Uptime
  670. ++ set -f
  671. ++ set -- Uptime
  672. ++ printf '%s\n' Uptime
  673. ++ set +f
  674. + [[ -n Uptime ]]
  675. + [[ -n 5 hours, 57 mins ]]
  676. + [[ -n '' ]]
  677. + string='Uptime: 5 hours, 57 mins'
  678. ++ trim 'Uptime: 5 hours, 57 mins'
  679. ++ set -f
  680. ++ set -- Uptime: 5 hours, 57 mins
  681. ++ printf '%s\n' 'Uptime: 5 hours, 57 mins'
  682. ++ set +f
  683. + string='Uptime: 5 hours, 57 mins'
  684. ++ strip_sequences 'Uptime: 5 hours, 57 mins'
  685. ++ strip='Uptime: 5 hours, 57 mins'
  686. ++ strip='Uptime: 5 hours, 57 mins'
  687. ++ strip='Uptime: 5 hours, 57 mins'
  688. ++ strip='Uptime: 5 hours, 57 mins'
  689. ++ strip='Uptime: 5 hours, 57 mins'
  690. ++ strip='Uptime: 5 hours, 57 mins'
  691. ++ printf '%s\n' 'Uptime: 5 hours, 57 mins'
  692. + length='Uptime: 5 hours, 57 mins'
  693. + length=24
  694. + string='Uptime\e[0m\e[0m:\e[0m 5 hours, 57 mins'
  695. + string='\e[1mUptime\e[0m\e[0m:\e[0m 5 hours, 57 mins'
  696. + printf '%b\n' '\e[37C\e[1mUptime\e[0m\e[0m:\e[0m 5 hours, 57 mins\e[0m '
  697. + (( ++info_height ))
  698. + prin=1
  699. + unset -v subtitle
  700. + info Packages packages
  701. + [[ -n packages ]]
  702. + subtitle=Packages
  703. + unset -v prin
  704. + get_packages
  705. + [[ -f /bedrock/etc/bedrock-release ]]
  706. + case $os in
  707. + has kiss
  708. + type -p kiss
  709. + has pacman-key
  710. + type -p pacman-key
  711. + has dpkg
  712. + type -p dpkg
  713. + has rpm
  714. + type -p rpm
  715. + manager=rpm
  716. + tot rpm -qa
  717. + IFS='
  718. '
  719. + read -d '' -ra pkgs
  720. ++ rpm -qa
  721. + (( packages+=1783 ))
  722. + pac 1783
  723. + (( 1783 > 0 ))
  724. + managers+=("$1 (${manager})")
  725. + manager_string+='rpm, '
  726. + has xbps-query
  727. + type -p xbps-query
  728. + has apk
  729. + type -p apk
  730. + has opkg
  731. + type -p opkg
  732. + has pacman-g2
  733. + type -p pacman-g2
  734. + has lvu
  735. + type -p lvu
  736. + has tce-status
  737. + type -p tce-status
  738. + has pkg_info
  739. + type -p pkg_info
  740. + has tazpkg
  741. + type -p tazpkg
  742. + has sorcery
  743. + type -p sorcery
  744. + has alps
  745. + type -p alps
  746. + has butch
  747. + type -p butch
  748. + has mine
  749. + type -p mine
  750. + shopt -s nullglob
  751. + has brew
  752. + type -p brew
  753. + has emerge
  754. + type -p emerge
  755. + has Compile
  756. + type -p Compile
  757. + has eopkg
  758. + type -p eopkg
  759. + has crew
  760. + type -p crew
  761. + has pkgtool
  762. + type -p pkgtool
  763. + has scratch
  764. + type -p scratch
  765. + has kagami
  766. + type -p kagami
  767. + has cave
  768. + type -p cave
  769. + shopt -u nullglob
  770. + has kpm-pkg
  771. + type -p kpm-pkg
  772. + has guix
  773. + type -p guix
  774. + has nix-store
  775. + type -p nix-store
  776. + has pkginfo
  777. + type -p pkginfo
  778. + case $kernel_name in
  779. + has pkg
  780. + type -p pkg
  781. + (( packages == 0 ))
  782. + has flatpak
  783. + type -p flatpak
  784. + manager=flatpak
  785. + tot flatpak list
  786. + IFS='
  787. '
  788. + read -d '' -ra pkgs
  789. ++ flatpak list
  790. + (( packages+=19 ))
  791. + pac 19
  792. + (( 19 > 0 ))
  793. + managers+=("$1 (${manager})")
  794. + manager_string+='flatpak, '
  795. + has spm
  796. + type -p spm
  797. + has puyo
  798. + type -p puyo
  799. + has snap
  800. + type -p snap
  801. + manager=snap
  802. + ps -e
  803. + grep -qFm 1 snapd
  804. + manager=appimage
  805. + has appimaged
  806. + type -p appimaged
  807. + (( packages == 0 ))
  808. + [[ on == on ]]
  809. + printf -v packages '%s, ' '1783 (rpm)' '19 (flatpak)'
  810. + packages='1783 (rpm), 19 (flatpak)'
  811. + packages='1783 (rpm), 19 (flatpak)'
  812. + [[ -n '' ]]
  813. + [[ -n packages ]]
  814. ++ trim '1783 (rpm), 19 (flatpak)'
  815. ++ set -f
  816. ++ set -- 1783 '(rpm),' 19 '(flatpak)'
  817. ++ printf '%s\n' '1783 (rpm), 19 (flatpak)'
  818. ++ set +f
  819. + output='1783 (rpm), 19 (flatpak)'
  820. + [[ -n packages ]]
  821. + [[ -n 1783(rpm),19(flatpak) ]]
  822. + prin Packages '1783 (rpm), 19 (flatpak)'
  823. ++ trim Packages
  824. ++ set -f
  825. ++ set -- Packages
  826. ++ printf '%s\n' Packages
  827. ++ set +f
  828. + [[ -n Packages ]]
  829. + [[ -n 1783 (rpm), 19 (flatpak) ]]
  830. + [[ -n '' ]]
  831. + string='Packages: 1783 (rpm), 19 (flatpak)'
  832. ++ trim 'Packages: 1783 (rpm), 19 (flatpak)'
  833. ++ set -f
  834. ++ set -- Packages: 1783 '(rpm),' 19 '(flatpak)'
  835. ++ printf '%s\n' 'Packages: 1783 (rpm), 19 (flatpak)'
  836. ++ set +f
  837. + string='Packages: 1783 (rpm), 19 (flatpak)'
  838. ++ strip_sequences 'Packages: 1783 (rpm), 19 (flatpak)'
  839. ++ strip='Packages: 1783 (rpm), 19 (flatpak)'
  840. ++ strip='Packages: 1783 (rpm), 19 (flatpak)'
  841. ++ strip='Packages: 1783 (rpm), 19 (flatpak)'
  842. ++ strip='Packages: 1783 (rpm), 19 (flatpak)'
  843. ++ strip='Packages: 1783 (rpm), 19 (flatpak)'
  844. ++ strip='Packages: 1783 (rpm), 19 (flatpak)'
  845. ++ printf '%s\n' 'Packages: 1783 (rpm), 19 (flatpak)'
  846. + length='Packages: 1783 (rpm), 19 (flatpak)'
  847. + length=34
  848. + string='Packages\e[0m\e[0m:\e[0m 1783 (rpm), 19 (flatpak)'
  849. + string='\e[1mPackages\e[0m\e[0m:\e[0m 1783 (rpm), 19 (flatpak)'
  850. + printf '%b\n' '\e[37C\e[1mPackages\e[0m\e[0m:\e[0m 1783 (rpm), 19 (flatpak)\e[0m '
  851. + (( ++info_height ))
  852. + prin=1
  853. + unset -v subtitle
  854. + info Shell shell
  855. + [[ -n shell ]]
  856. + subtitle=Shell
  857. + unset -v prin
  858. + get_shell
  859. + case $shell_path in
  860. + shell='bash '
  861. + [[ on != on ]]
  862. + case ${shell_name:=${SHELL##*/}} in
  863. + [[ -n 5.0.17(1)-release ]]
  864. + shell+='5.0.17(1)'
  865. + shell='bash 5.0.17(1)'
  866. + shell='bash 5.0.17(1)'
  867. + shell='bash 5.0.17(1)'
  868. + shell='bash 5.0.17'
  869. + [[ -n '' ]]
  870. + [[ -n shell ]]
  871. ++ trim 'bash 5.0.17'
  872. ++ set -f
  873. ++ set -- bash 5.0.17
  874. ++ printf '%s\n' 'bash 5.0.17'
  875. ++ set +f
  876. + output='bash 5.0.17'
  877. + [[ -n shell ]]
  878. + [[ -n bash5.0.17 ]]
  879. + prin Shell 'bash 5.0.17'
  880. ++ trim Shell
  881. ++ set -f
  882. ++ set -- Shell
  883. ++ printf '%s\n' Shell
  884. ++ set +f
  885. + [[ -n Shell ]]
  886. + [[ -n bash 5.0.17 ]]
  887. + [[ -n '' ]]
  888. + string='Shell: bash 5.0.17'
  889. ++ trim 'Shell: bash 5.0.17'
  890. ++ set -f
  891. ++ set -- Shell: bash 5.0.17
  892. ++ printf '%s\n' 'Shell: bash 5.0.17'
  893. ++ set +f
  894. + string='Shell: bash 5.0.17'
  895. ++ strip_sequences 'Shell: bash 5.0.17'
  896. ++ strip='Shell: bash 5.0.17'
  897. ++ strip='Shell: bash 5.0.17'
  898. ++ strip='Shell: bash 5.0.17'
  899. ++ strip='Shell: bash 5.0.17'
  900. ++ strip='Shell: bash 5.0.17'
  901. ++ strip='Shell: bash 5.0.17'
  902. ++ printf '%s\n' 'Shell: bash 5.0.17'
  903. + length='Shell: bash 5.0.17'
  904. + length=18
  905. + string='Shell\e[0m\e[0m:\e[0m bash 5.0.17'
  906. + string='\e[1mShell\e[0m\e[0m:\e[0m bash 5.0.17'
  907. + printf '%b\n' '\e[37C\e[1mShell\e[0m\e[0m:\e[0m bash 5.0.17\e[0m '
  908. + (( ++info_height ))
  909. + prin=1
  910. + unset -v subtitle
  911. + info Resolution resolution
  912. + [[ -n resolution ]]
  913. + subtitle=Resolution
  914. + unset -v prin
  915. + get_resolution
  916. + case $os in
  917. + type -p xrandr
  918. + [[ -n :0 ]]
  919. + [[ -z wayland-0 ]]
  920. + type -p xwininfo
  921. + [[ -n :0 ]]
  922. + [[ -z wayland-0 ]]
  923. + type -p xdpyinfo
  924. + [[ -n :0 ]]
  925. + [[ -z wayland-0 ]]
  926. + [[ -d /sys/class/drm ]]
  927. + for dev in /sys/class/drm/*/modes
  928. + read -r resolution _
  929. + [[ -n 3840x2160 ]]
  930. + break
  931. + resolution=3840x2160
  932. + [[ -z 38402160 ]]
  933. + [[ -n '' ]]
  934. + [[ -n resolution ]]
  935. ++ trim 3840x2160
  936. ++ set -f
  937. ++ set -- 3840x2160
  938. ++ printf '%s\n' 3840x2160
  939. ++ set +f
  940. + output=3840x2160
  941. + [[ -n resolution ]]
  942. + [[ -n 3840x2160 ]]
  943. + prin Resolution 3840x2160
  944. ++ trim Resolution
  945. ++ set -f
  946. ++ set -- Resolution
  947. ++ printf '%s\n' Resolution
  948. ++ set +f
  949. + [[ -n Resolution ]]
  950. + [[ -n 3840x2160 ]]
  951. + [[ -n '' ]]
  952. + string='Resolution: 3840x2160'
  953. ++ trim 'Resolution: 3840x2160'
  954. ++ set -f
  955. ++ set -- Resolution: 3840x2160
  956. ++ printf '%s\n' 'Resolution: 3840x2160'
  957. ++ set +f
  958. + string='Resolution: 3840x2160'
  959. ++ strip_sequences 'Resolution: 3840x2160'
  960. ++ strip='Resolution: 3840x2160'
  961. ++ strip='Resolution: 3840x2160'
  962. ++ strip='Resolution: 3840x2160'
  963. ++ strip='Resolution: 3840x2160'
  964. ++ strip='Resolution: 3840x2160'
  965. ++ strip='Resolution: 3840x2160'
  966. ++ printf '%s\n' 'Resolution: 3840x2160'
  967. + length='Resolution: 3840x2160'
  968. + length=21
  969. + string='Resolution\e[0m\e[0m:\e[0m 3840x2160'
  970. + string='\e[1mResolution\e[0m\e[0m:\e[0m 3840x2160'
  971. + printf '%b\n' '\e[37C\e[1mResolution\e[0m\e[0m:\e[0m 3840x2160\e[0m '
  972. + (( ++info_height ))
  973. + prin=1
  974. + unset -v subtitle
  975. + info DE de
  976. + [[ -n de ]]
  977. + subtitle=DE
  978. + unset -v prin
  979. + get_de
  980. + (( de_run == 1 ))
  981. + case $os in
  982. + (( wm_run != 1 ))
  983. + get_wm
  984. + (( wm_run == 1 ))
  985. + case $kernel_name in
  986. + ps_flags=(-e)
  987. + [[ -n wayland-0 ]]
  988. ++ ps -e
  989. ++ grep -m 1 -o -F -e arcan -e asc -e clayland -e dwc -e fireplace -e gnome-shell -e greenfield -e grefsen -e kwin -e lipstick -e maynard -e mazecompositor -e motorcar -e orbital -e orbment -e perceptia -e rustland -e sway -e ulubis -e velox -e wavy -e way-cooler -e wayfire -e wayhouse -e westeros -e westford -e weston
  990. + wm=gnome-shell
  991. + [[ gnome-shell == *WINDOWMAKER* ]]
  992. + [[ gnome-shell == *GNOME*Shell* ]]
  993. + wm=Mutter
  994. + wm_run=1
  995. + [[ gnome == regolith ]]
  996. + [[ -n GNOME ]]
  997. + de=GNOME
  998. + de=GNOME
  999. + de=GNOME
  1000. + [[ GNOME == \M\u\t\t\e\r ]]
  1001. + [[ -n :0 ]]
  1002. + [[ -z GNOME ]]
  1003. + case $de in
  1004. + de=GNOME
  1005. + (( 0 >= 4 ))
  1006. + [[ on == on ]]
  1007. + [[ -n GNOME ]]
  1008. + case $de in
  1009. ++ gnome-shell --version
  1010. + de_ver='GNOME Shell 3.36.5'
  1011. + de_ver='GNOME Shell 3.36.5'
  1012. + de_ver='GNOME Shell 3.36.5'
  1013. + de_ver='GNOME Shell 3.36.5'
  1014. + de_ver='GNOME Shell 3.36.5'
  1015. + de_ver='GNOME Shell 3.36.5'
  1016. + de_ver=3.36.5
  1017. + de_ver=3.36.5
  1018. + de='GNOME 3.36.5'
  1019. + de_run=1
  1020. + [[ -n '' ]]
  1021. + [[ -n de ]]
  1022. ++ trim 'GNOME 3.36.5'
  1023. ++ set -f
  1024. ++ set -- GNOME 3.36.5
  1025. ++ printf '%s\n' 'GNOME 3.36.5'
  1026. ++ set +f
  1027. + output='GNOME 3.36.5'
  1028. + [[ -n de ]]
  1029. + [[ -n GNOME3.36.5 ]]
  1030. + prin DE 'GNOME 3.36.5'
  1031. ++ trim DE
  1032. ++ set -f
  1033. ++ set -- DE
  1034. ++ printf '%s\n' DE
  1035. ++ set +f
  1036. + [[ -n DE ]]
  1037. + [[ -n GNOME 3.36.5 ]]
  1038. + [[ -n '' ]]
  1039. + string='DE: GNOME 3.36.5'
  1040. ++ trim 'DE: GNOME 3.36.5'
  1041. ++ set -f
  1042. ++ set -- DE: GNOME 3.36.5
  1043. ++ printf '%s\n' 'DE: GNOME 3.36.5'
  1044. ++ set +f
  1045. + string='DE: GNOME 3.36.5'
  1046. ++ strip_sequences 'DE: GNOME 3.36.5'
  1047. ++ strip='DE: GNOME 3.36.5'
  1048. ++ strip='DE: GNOME 3.36.5'
  1049. ++ strip='DE: GNOME 3.36.5'
  1050. ++ strip='DE: GNOME 3.36.5'
  1051. ++ strip='DE: GNOME 3.36.5'
  1052. ++ strip='DE: GNOME 3.36.5'
  1053. ++ printf '%s\n' 'DE: GNOME 3.36.5'
  1054. + length='DE: GNOME 3.36.5'
  1055. + length=16
  1056. + string='DE\e[0m\e[0m:\e[0m GNOME 3.36.5'
  1057. + string='\e[1mDE\e[0m\e[0m:\e[0m GNOME 3.36.5'
  1058. + printf '%b\n' '\e[37C\e[1mDE\e[0m\e[0m:\e[0m GNOME 3.36.5\e[0m '
  1059. + (( ++info_height ))
  1060. + prin=1
  1061. + unset -v subtitle
  1062. + info WM wm
  1063. + [[ -n wm ]]
  1064. + subtitle=WM
  1065. + unset -v prin
  1066. + get_wm
  1067. + (( wm_run == 1 ))
  1068. + return
  1069. + [[ -n '' ]]
  1070. + [[ -n wm ]]
  1071. ++ trim Mutter
  1072. ++ set -f
  1073. ++ set -- Mutter
  1074. ++ printf '%s\n' Mutter
  1075. ++ set +f
  1076. + output=Mutter
  1077. + [[ -n wm ]]
  1078. + [[ -n Mutter ]]
  1079. + prin WM Mutter
  1080. ++ trim WM
  1081. ++ set -f
  1082. ++ set -- WM
  1083. ++ printf '%s\n' WM
  1084. ++ set +f
  1085. + [[ -n WM ]]
  1086. + [[ -n Mutter ]]
  1087. + [[ -n '' ]]
  1088. + string='WM: Mutter'
  1089. ++ trim 'WM: Mutter'
  1090. ++ set -f
  1091. ++ set -- WM: Mutter
  1092. ++ printf '%s\n' 'WM: Mutter'
  1093. ++ set +f
  1094. + string='WM: Mutter'
  1095. ++ strip_sequences 'WM: Mutter'
  1096. ++ strip='WM: Mutter'
  1097. ++ strip='WM: Mutter'
  1098. ++ strip='WM: Mutter'
  1099. ++ strip='WM: Mutter'
  1100. ++ strip='WM: Mutter'
  1101. ++ strip='WM: Mutter'
  1102. ++ printf '%s\n' 'WM: Mutter'
  1103. + length='WM: Mutter'
  1104. + length=10
  1105. + string='WM\e[0m\e[0m:\e[0m Mutter'
  1106. + string='\e[1mWM\e[0m\e[0m:\e[0m Mutter'
  1107. + printf '%b\n' '\e[37C\e[1mWM\e[0m\e[0m:\e[0m Mutter\e[0m '
  1108. + (( ++info_height ))
  1109. + prin=1
  1110. + unset -v subtitle
  1111. + info 'WM Theme' wm_theme
  1112. + [[ -n wm_theme ]]
  1113. + subtitle='WM Theme'
  1114. + unset -v prin
  1115. + get_wm_theme
  1116. + (( wm_run != 1 ))
  1117. + (( de_run != 1 ))
  1118. + case $wm in
  1119. + type -p gsettings
  1120. ++ gsettings get org.gnome.shell.extensions.user-theme name
  1121. + wm_theme=''\'''\'''
  1122. + [[ -n '' ]]
  1123. ++ gsettings get org.gnome.desktop.wm.preferences theme
  1124. + wm_theme=''\''Adwaita'\'''
  1125. ++ trim_quotes ''\''Adwaita'\'''
  1126. ++ trim_output=Adwaita
  1127. ++ trim_output=Adwaita
  1128. ++ printf %s Adwaita
  1129. + wm_theme=Adwaita
  1130. + [[ -n '' ]]
  1131. + [[ -n wm_theme ]]
  1132. ++ trim Adwaita
  1133. ++ set -f
  1134. ++ set -- Adwaita
  1135. ++ printf '%s\n' Adwaita
  1136. ++ set +f
  1137. + output=Adwaita
  1138. + [[ -n wm_theme ]]
  1139. + [[ -n Adwaita ]]
  1140. + prin 'WM Theme' Adwaita
  1141. ++ trim 'WM Theme'
  1142. ++ set -f
  1143. ++ set -- WM Theme
  1144. ++ printf '%s\n' 'WM Theme'
  1145. ++ set +f
  1146. + [[ -n WM Theme ]]
  1147. + [[ -n Adwaita ]]
  1148. + [[ -n '' ]]
  1149. + string='WM Theme: Adwaita'
  1150. ++ trim 'WM Theme: Adwaita'
  1151. ++ set -f
  1152. ++ set -- WM Theme: Adwaita
  1153. ++ printf '%s\n' 'WM Theme: Adwaita'
  1154. ++ set +f
  1155. + string='WM Theme: Adwaita'
  1156. ++ strip_sequences 'WM Theme: Adwaita'
  1157. ++ strip='WM Theme: Adwaita'
  1158. ++ strip='WM Theme: Adwaita'
  1159. ++ strip='WM Theme: Adwaita'
  1160. ++ strip='WM Theme: Adwaita'
  1161. ++ strip='WM Theme: Adwaita'
  1162. ++ strip='WM Theme: Adwaita'
  1163. ++ printf '%s\n' 'WM Theme: Adwaita'
  1164. + length='WM Theme: Adwaita'
  1165. + length=17
  1166. + string='WM Theme\e[0m\e[0m:\e[0m Adwaita'
  1167. + string='\e[1mWM Theme\e[0m\e[0m:\e[0m Adwaita'
  1168. + printf '%b\n' '\e[37C\e[1mWM Theme\e[0m\e[0m:\e[0m Adwaita\e[0m '
  1169. + (( ++info_height ))
  1170. + prin=1
  1171. + unset -v subtitle
  1172. + info Theme theme
  1173. + [[ -n theme ]]
  1174. + subtitle=Theme
  1175. + unset -v prin
  1176. + get_theme
  1177. + name=gtk-theme-name
  1178. + gsettings=gtk-theme
  1179. + gconf=gtk_theme
  1180. + xfconf=/Net/ThemeName
  1181. + kde=Name
  1182. + get_style
  1183. + unset gtk2_theme gtk3_theme theme path
  1184. + [[ -n :0 ]]
  1185. + [[ Linux != \M\a\c\ \O\S\ \X ]]
  1186. + [[ Linux != \m\a\c\O\S ]]
  1187. + (( de_run != 1 ))
  1188. + [[ on == on ]]
  1189. + de=GNOME
  1190. + case $de in
  1191. + type -p gsettings
  1192. ++ gsettings get org.gnome.desktop.interface gtk-theme
  1193. + gtk3_theme=''\''Adwaita-dark'\'''
  1194. + gtk2_theme=''\''Adwaita-dark'\'''
  1195. + [[ -z 'Adwaita-dark' ]]
  1196. + [[ -z 'Adwaita-dark' ]]
  1197. ++ trim ''\''Adwaita-dark'\'''
  1198. ++ set -f
  1199. ++ set -- ''\''Adwaita-dark'\'''
  1200. ++ printf '%s\n' ''\''Adwaita-dark'\'''
  1201. ++ set +f
  1202. + gtk2_theme=''\''Adwaita-dark'\'''
  1203. ++ trim ''\''Adwaita-dark'\'''
  1204. ++ set -f
  1205. ++ set -- ''\''Adwaita-dark'\'''
  1206. ++ printf '%s\n' ''\''Adwaita-dark'\'''
  1207. ++ set +f
  1208. + gtk3_theme=''\''Adwaita-dark'\'''
  1209. ++ trim_quotes ''\''Adwaita-dark'\'''
  1210. ++ trim_output=Adwaita-dark
  1211. ++ trim_output=Adwaita-dark
  1212. ++ printf %s Adwaita-dark
  1213. + gtk2_theme=Adwaita-dark
  1214. ++ trim_quotes ''\''Adwaita-dark'\'''
  1215. ++ trim_output=Adwaita-dark
  1216. ++ trim_output=Adwaita-dark
  1217. ++ printf %s Adwaita-dark
  1218. + gtk3_theme=Adwaita-dark
  1219. + [[ on == \o\f\f ]]
  1220. + [[ on == \o\f\f ]]
  1221. + [[ -n Adwaita-dark ]]
  1222. + [[ Adwaita-dark == \A\d\w\a\i\t\a\-\d\a\r\k ]]
  1223. + gtk3_theme+=' [GTK2/3]'
  1224. + unset gtk2_theme
  1225. + theme='Adwaita-dark [GTK2/3]'
  1226. + theme='Adwaita-dark [GTK2/3]'
  1227. + [[ off == \o\n ]]
  1228. + [[ -n '' ]]
  1229. + [[ -n theme ]]
  1230. ++ trim 'Adwaita-dark [GTK2/3]'
  1231. ++ set -f
  1232. ++ set -- Adwaita-dark '[GTK2/3]'
  1233. ++ printf '%s\n' 'Adwaita-dark [GTK2/3]'
  1234. ++ set +f
  1235. + output='Adwaita-dark [GTK2/3]'
  1236. + [[ -n theme ]]
  1237. + [[ -n Adwaita-dark[GTK2/3] ]]
  1238. + prin Theme 'Adwaita-dark [GTK2/3]'
  1239. ++ trim Theme
  1240. ++ set -f
  1241. ++ set -- Theme
  1242. ++ printf '%s\n' Theme
  1243. ++ set +f
  1244. + [[ -n Theme ]]
  1245. + [[ -n Adwaita-dark [GTK2/3] ]]
  1246. + [[ -n '' ]]
  1247. + string='Theme: Adwaita-dark [GTK2/3]'
  1248. ++ trim 'Theme: Adwaita-dark [GTK2/3]'
  1249. ++ set -f
  1250. ++ set -- Theme: Adwaita-dark '[GTK2/3]'
  1251. ++ printf '%s\n' 'Theme: Adwaita-dark [GTK2/3]'
  1252. ++ set +f
  1253. + string='Theme: Adwaita-dark [GTK2/3]'
  1254. ++ strip_sequences 'Theme: Adwaita-dark [GTK2/3]'
  1255. ++ strip='Theme: Adwaita-dark [GTK2/3]'
  1256. ++ strip='Theme: Adwaita-dark [GTK2/3]'
  1257. ++ strip='Theme: Adwaita-dark [GTK2/3]'
  1258. ++ strip='Theme: Adwaita-dark [GTK2/3]'
  1259. ++ strip='Theme: Adwaita-dark [GTK2/3]'
  1260. ++ strip='Theme: Adwaita-dark [GTK2/3]'
  1261. ++ printf '%s\n' 'Theme: Adwaita-dark [GTK2/3]'
  1262. + length='Theme: Adwaita-dark [GTK2/3]'
  1263. + length=28
  1264. + string='Theme\e[0m\e[0m:\e[0m Adwaita-dark [GTK2/3]'
  1265. + string='\e[1mTheme\e[0m\e[0m:\e[0m Adwaita-dark [GTK2/3]'
  1266. + printf '%b\n' '\e[37C\e[1mTheme\e[0m\e[0m:\e[0m Adwaita-dark [GTK2/3]\e[0m '
  1267. + (( ++info_height ))
  1268. + prin=1
  1269. + unset -v subtitle
  1270. + info Icons icons
  1271. + [[ -n icons ]]
  1272. + subtitle=Icons
  1273. + unset -v prin
  1274. + get_icons
  1275. + name=gtk-icon-theme-name
  1276. + gsettings=icon-theme
  1277. + gconf=icon_theme
  1278. + xfconf=/Net/IconThemeName
  1279. + kde=Theme
  1280. + get_style
  1281. + unset gtk2_theme gtk3_theme theme path
  1282. + [[ -n :0 ]]
  1283. + [[ Linux != \M\a\c\ \O\S\ \X ]]
  1284. + [[ Linux != \m\a\c\O\S ]]
  1285. + (( de_run != 1 ))
  1286. + [[ on == on ]]
  1287. + de=GNOME
  1288. + case $de in
  1289. + type -p gsettings
  1290. ++ gsettings get org.gnome.desktop.interface icon-theme
  1291. + gtk3_theme=''\''Adwaita'\'''
  1292. + gtk2_theme=''\''Adwaita'\'''
  1293. + [[ -z 'Adwaita' ]]
  1294. + [[ -z 'Adwaita' ]]
  1295. ++ trim ''\''Adwaita'\'''
  1296. ++ set -f
  1297. ++ set -- ''\''Adwaita'\'''
  1298. ++ printf '%s\n' ''\''Adwaita'\'''
  1299. ++ set +f
  1300. + gtk2_theme=''\''Adwaita'\'''
  1301. ++ trim ''\''Adwaita'\'''
  1302. ++ set -f
  1303. ++ set -- ''\''Adwaita'\'''
  1304. ++ printf '%s\n' ''\''Adwaita'\'''
  1305. ++ set +f
  1306. + gtk3_theme=''\''Adwaita'\'''
  1307. ++ trim_quotes ''\''Adwaita'\'''
  1308. ++ trim_output=Adwaita
  1309. ++ trim_output=Adwaita
  1310. ++ printf %s Adwaita
  1311. + gtk2_theme=Adwaita
  1312. ++ trim_quotes ''\''Adwaita'\'''
  1313. ++ trim_output=Adwaita
  1314. ++ trim_output=Adwaita
  1315. ++ printf %s Adwaita
  1316. + gtk3_theme=Adwaita
  1317. + [[ on == \o\f\f ]]
  1318. + [[ on == \o\f\f ]]
  1319. + [[ -n Adwaita ]]
  1320. + [[ Adwaita == \A\d\w\a\i\t\a ]]
  1321. + gtk3_theme+=' [GTK2/3]'
  1322. + unset gtk2_theme
  1323. + theme='Adwaita [GTK2/3]'
  1324. + theme='Adwaita [GTK2/3]'
  1325. + [[ off == \o\n ]]
  1326. + icons='Adwaita [GTK2/3]'
  1327. + [[ -n '' ]]
  1328. + [[ -n icons ]]
  1329. ++ trim 'Adwaita [GTK2/3]'
  1330. ++ set -f
  1331. ++ set -- Adwaita '[GTK2/3]'
  1332. ++ printf '%s\n' 'Adwaita [GTK2/3]'
  1333. ++ set +f
  1334. + output='Adwaita [GTK2/3]'
  1335. + [[ -n icons ]]
  1336. + [[ -n Adwaita[GTK2/3] ]]
  1337. + prin Icons 'Adwaita [GTK2/3]'
  1338. ++ trim Icons
  1339. ++ set -f
  1340. ++ set -- Icons
  1341. ++ printf '%s\n' Icons
  1342. ++ set +f
  1343. + [[ -n Icons ]]
  1344. + [[ -n Adwaita [GTK2/3] ]]
  1345. + [[ -n '' ]]
  1346. + string='Icons: Adwaita [GTK2/3]'
  1347. ++ trim 'Icons: Adwaita [GTK2/3]'
  1348. ++ set -f
  1349. ++ set -- Icons: Adwaita '[GTK2/3]'
  1350. ++ printf '%s\n' 'Icons: Adwaita [GTK2/3]'
  1351. ++ set +f
  1352. + string='Icons: Adwaita [GTK2/3]'
  1353. ++ strip_sequences 'Icons: Adwaita [GTK2/3]'
  1354. ++ strip='Icons: Adwaita [GTK2/3]'
  1355. ++ strip='Icons: Adwaita [GTK2/3]'
  1356. ++ strip='Icons: Adwaita [GTK2/3]'
  1357. ++ strip='Icons: Adwaita [GTK2/3]'
  1358. ++ strip='Icons: Adwaita [GTK2/3]'
  1359. ++ strip='Icons: Adwaita [GTK2/3]'
  1360. ++ printf '%s\n' 'Icons: Adwaita [GTK2/3]'
  1361. + length='Icons: Adwaita [GTK2/3]'
  1362. + length=23
  1363. + string='Icons\e[0m\e[0m:\e[0m Adwaita [GTK2/3]'
  1364. + string='\e[1mIcons\e[0m\e[0m:\e[0m Adwaita [GTK2/3]'
  1365. + printf '%b\n' '\e[37C\e[1mIcons\e[0m\e[0m:\e[0m Adwaita [GTK2/3]\e[0m '
  1366. + (( ++info_height ))
  1367. + prin=1
  1368. + unset -v subtitle
  1369. + info Terminal term
  1370. + [[ -n term ]]
  1371. + subtitle=Terminal
  1372. + unset -v prin
  1373. + get_term
  1374. + (( term_run == 1 ))
  1375. + case $TERM_PROGRAM in
  1376. + term=
  1377. + [[ xterm-256color == \t\w\5\2 ]]
  1378. + [[ xterm-256color == \t\w\1\0\0 ]]
  1379. + [[ -n '' ]]
  1380. + [[ -n '' ]]
  1381. + [[ -z '' ]]
  1382. ++ get_ppid ''
  1383. ++ case $os in
  1384. +++ grep -i -F PPid: /proc/26824/status
  1385. ++ ppid='PPid: 26819'
  1386. +++ trim ' 26819'
  1387. +++ set -f
  1388. +++ set -- 26819
  1389. +++ printf '%s\n' 26819
  1390. +++ set +f
  1391. ++ ppid=26819
  1392. ++ printf %s 26819
  1393. + parent=26819
  1394. + [[ -z 26819 ]]
  1395. ++ get_process_name 26819
  1396. ++ case $os in
  1397. ++ name=gnome-terminal-
  1398. ++ printf %s gnome-terminal-
  1399. + name=gnome-terminal-
  1400. + case ${name// } in
  1401. + term=gnome-terminal
  1402. + [[ -z gnome-terminal ]]
  1403. + term_run=1
  1404. + [[ -n '' ]]
  1405. + [[ -n term ]]
  1406. ++ trim gnome-terminal
  1407. ++ set -f
  1408. ++ set -- gnome-terminal
  1409. ++ printf '%s\n' gnome-terminal
  1410. ++ set +f
  1411. + output=gnome-terminal
  1412. + [[ -n term ]]
  1413. + [[ -n gnome-terminal ]]
  1414. + prin Terminal gnome-terminal
  1415. ++ trim Terminal
  1416. ++ set -f
  1417. ++ set -- Terminal
  1418. ++ printf '%s\n' Terminal
  1419. ++ set +f
  1420. + [[ -n Terminal ]]
  1421. + [[ -n gnome-terminal ]]
  1422. + [[ -n '' ]]
  1423. + string='Terminal: gnome-terminal'
  1424. ++ trim 'Terminal: gnome-terminal'
  1425. ++ set -f
  1426. ++ set -- Terminal: gnome-terminal
  1427. ++ printf '%s\n' 'Terminal: gnome-terminal'
  1428. ++ set +f
  1429. + string='Terminal: gnome-terminal'
  1430. ++ strip_sequences 'Terminal: gnome-terminal'
  1431. ++ strip='Terminal: gnome-terminal'
  1432. ++ strip='Terminal: gnome-terminal'
  1433. ++ strip='Terminal: gnome-terminal'
  1434. ++ strip='Terminal: gnome-terminal'
  1435. ++ strip='Terminal: gnome-terminal'
  1436. ++ strip='Terminal: gnome-terminal'
  1437. ++ printf '%s\n' 'Terminal: gnome-terminal'
  1438. + length='Terminal: gnome-terminal'
  1439. + length=24
  1440. + string='Terminal\e[0m\e[0m:\e[0m gnome-terminal'
  1441. + string='\e[1mTerminal\e[0m\e[0m:\e[0m gnome-terminal'
  1442. + printf '%b\n' '\e[37C\e[1mTerminal\e[0m\e[0m:\e[0m gnome-terminal\e[0m '
  1443. + (( ++info_height ))
  1444. + prin=1
  1445. + unset -v subtitle
  1446. + info 'Terminal Font' term_font
  1447. + [[ -n term_font ]]
  1448. + subtitle='Terminal Font'
  1449. + unset -v prin
  1450. + get_term_font
  1451. + (( term_run != 1 ))
  1452. + case $term in
  1453. + [[ -n '' ]]
  1454. + [[ -n term_font ]]
  1455. ++ trim ''
  1456. ++ set -f
  1457. ++ set --
  1458. ++ printf '%s\n' ''
  1459. ++ set +f
  1460. + output=
  1461. + [[ -n term_font ]]
  1462. + [[ -n '' ]]
  1463. + [[ -n '' ]]
  1464. + err 'Info: Couldn'\''t detect Terminal Font.'
  1465. ++ color 1
  1466. ++ case $1 in
  1467. ++ printf '%b\e[3%sm' '\e[0m' 1
  1468. + err+='[!]\e[0m Info: Couldn'\''t detect Terminal Font.
  1469. '
  1470. + unset -v subtitle
  1471. + info CPU cpu
  1472. + [[ -n cpu ]]
  1473. + subtitle=CPU
  1474. + unset -v prin
  1475. + get_cpu
  1476. + case $os in
  1477. + cpu_file=/proc/cpuinfo
  1478. + case $kernel_machine in
  1479. ++ awk -F '\\s*: | @' '/model name|Hardware|Processor|^cpu model|chip type|^cpu type/ {
  1480. cpu=$2; if ($1 == "Hardware") exit } END { print cpu }' /proc/cpuinfo
  1481. + cpu='AMD Ryzen 9 3900XT 12-Core Processor'
  1482. + speed_dir=/sys/devices/system/cpu/cpu0/cpufreq
  1483. + for temp_dir in /sys/class/hwmon/*
  1484. + [[ nvme =~ (coretemp|fam15h_power|k10temp) ]]
  1485. + for temp_dir in /sys/class/hwmon/*
  1486. + [[ amdgpu =~ (coretemp|fam15h_power|k10temp) ]]
  1487. + for temp_dir in /sys/class/hwmon/*
  1488. + [[ k10temp =~ (coretemp|fam15h_power|k10temp) ]]
  1489. + temp_dirs=("$temp_dir"/temp*_input)
  1490. + temp_dir=/sys/class/hwmon/hwmon2/temp1_input
  1491. + break
  1492. + [[ -d /sys/devices/system/cpu/cpu0/cpufreq ]]
  1493. + speed=3800000
  1494. + speed=3800
  1495. + [[ -f /sys/class/hwmon/hwmon2/temp1_input ]]
  1496. + deg=607
  1497. + case $cpu_cores in
  1498. ++ grep -c '^processor' /proc/cpuinfo
  1499. + cores=24
  1500. + cpu='AMD Ryzen 9 3900XT 12-Core Processor'
  1501. + cpu='AMD Ryzen 9 3900XT 12-Core Processor'
  1502. + cpu='AMD Ryzen 9 3900XT 12-Core Processor'
  1503. + cpu='AMD Ryzen 9 3900XT 12-Core Processor'
  1504. + cpu='AMD Ryzen 9 3900XT 12-Core Processor'
  1505. + cpu='AMD Ryzen 9 3900XT 12-Core '
  1506. + cpu='AMD Ryzen 9 3900XT 12-Core '
  1507. + cpu='AMD Ryzen 9 3900XT 12-Core '
  1508. + cpu='AMD Ryzen 9 3900XT 12-Core '
  1509. + cpu='AMD Ryzen 9 3900XT 12-Core '
  1510. + cpu='AMD Ryzen 9 3900XT '
  1511. + cpu='AMD Ryzen 9 3900XT '
  1512. + cpu='AMD Ryzen 9 3900XT '
  1513. + cpu='AMD Ryzen 9 3900XT '
  1514. + cpu='AMD Ryzen 9 3900XT '
  1515. + cpu='AMD Ryzen 9 3900XT '
  1516. + cpu='AMD Ryzen 9 3900XT '
  1517. + cpu='AMD Ryzen 9 3900XT '
  1518. + cpu='AMD Ryzen 9 3900XT '
  1519. + cpu='AMD Ryzen 9 3900XT '
  1520. + cpu='AMD Ryzen 9 3900XT '
  1521. + cores=24
  1522. + speed=3800
  1523. + [[ on == \o\f\f ]]
  1524. + [[ logical != \o\f\f ]]
  1525. + [[ -n 24 ]]
  1526. + case $os in
  1527. + cpu='AMD Ryzen 9 3900XT (24)'
  1528. + [[ on != \o\f\f ]]
  1529. + [[ -n 3800 ]]
  1530. + (( speed < 1000 ))
  1531. + [[ off == \o\n ]]
  1532. + speed=3.800
  1533. + cpu='AMD Ryzen 9 3900XT (24) @ 3.800GHz'
  1534. + [[ off != \o\f\f ]]
  1535. + [[ -n '' ]]
  1536. + [[ -n cpu ]]
  1537. ++ trim 'AMD Ryzen 9 3900XT (24) @ 3.800GHz'
  1538. ++ set -f
  1539. ++ set -- AMD Ryzen 9 3900XT '(24)' @ 3.800GHz
  1540. ++ printf '%s\n' 'AMD Ryzen 9 3900XT (24) @ 3.800GHz'
  1541. ++ set +f
  1542. + output='AMD Ryzen 9 3900XT (24) @ 3.800GHz'
  1543. + [[ -n cpu ]]
  1544. + [[ -n AMDRyzen93900XT(24)@3.800GHz ]]
  1545. + prin CPU 'AMD Ryzen 9 3900XT (24) @ 3.800GHz'
  1546. ++ trim CPU
  1547. ++ set -f
  1548. ++ set -- CPU
  1549. ++ printf '%s\n' CPU
  1550. ++ set +f
  1551. + [[ -n CPU ]]
  1552. + [[ -n AMD Ryzen 9 3900XT (24) @ 3.800GHz ]]
  1553. + [[ -n '' ]]
  1554. + string='CPU: AMD Ryzen 9 3900XT (24) @ 3.800GHz'
  1555. ++ trim 'CPU: AMD Ryzen 9 3900XT (24) @ 3.800GHz'
  1556. ++ set -f
  1557. ++ set -- CPU: AMD Ryzen 9 3900XT '(24)' @ 3.800GHz
  1558. ++ printf '%s\n' 'CPU: AMD Ryzen 9 3900XT (24) @ 3.800GHz'
  1559. ++ set +f
  1560. + string='CPU: AMD Ryzen 9 3900XT (24) @ 3.800GHz'
  1561. ++ strip_sequences 'CPU: AMD Ryzen 9 3900XT (24) @ 3.800GHz'
  1562. ++ strip='CPU: AMD Ryzen 9 3900XT (24) @ 3.800GHz'
  1563. ++ strip='CPU: AMD Ryzen 9 3900XT (24) @ 3.800GHz'
  1564. ++ strip='CPU: AMD Ryzen 9 3900XT (24) @ 3.800GHz'
  1565. ++ strip='CPU: AMD Ryzen 9 3900XT (24) @ 3.800GHz'
  1566. ++ strip='CPU: AMD Ryzen 9 3900XT (24) @ 3.800GHz'
  1567. ++ strip='CPU: AMD Ryzen 9 3900XT (24) @ 3.800GHz'
  1568. ++ printf '%s\n' 'CPU: AMD Ryzen 9 3900XT (24) @ 3.800GHz'
  1569. + length='CPU: AMD Ryzen 9 3900XT (24) @ 3.800GHz'
  1570. + length=39
  1571. + string='CPU\e[0m\e[0m:\e[0m AMD Ryzen 9 3900XT (24) @ 3.800GHz'
  1572. + string='\e[1mCPU\e[0m\e[0m:\e[0m AMD Ryzen 9 3900XT (24) @ 3.800GHz'
  1573. + printf '%b\n' '\e[37C\e[1mCPU\e[0m\e[0m:\e[0m AMD Ryzen 9 3900XT (24) @ 3.800GHz\e[0m '
  1574. + (( ++info_height ))
  1575. + prin=1
  1576. + unset -v subtitle
  1577. + info GPU gpu
  1578. + [[ -n gpu ]]
  1579. + subtitle=GPU
  1580. + unset -v prin
  1581. + get_gpu
  1582. + case $os in
  1583. ++ lspci -mm
  1584. ++ awk -F '\"|\" \"|\\(' '/"Display|"3D|"VGA/ {a[$0] = $1 " " $3 " " $4}
  1585. END {for(i in a) {if(!seen[a[i]]++) print a[i]}}'
  1586. + gpu_cmd='2f:00.0 Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT]'
  1587. + IFS='
  1588. '
  1589. + read -d '' -ra gpus
  1590. + [[ 2f:00.0 Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] == *Intel* ]]
  1591. + for gpu in "${gpus[@]}"
  1592. + [[ all == \d\e\d\i\c\a\t\e\d ]]
  1593. + [[ all == \i\n\t\e\g\r\a\t\e\d ]]
  1594. + case $gpu in
  1595. + brand='AMD ATI'
  1596. + brand='AMD ATI'
  1597. + brand='AMD ATI'
  1598. + gpu='2f:00.0 Advanced Micro Devices, Inc. Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT]'
  1599. + gpu='2f:00.0 Advanced Micro Devices, Inc. Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT]'
  1600. + gpu='2f:00.0 Advanced Micro Devices, Inc. Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT]'
  1601. + gpu='2f:00.0 Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT]'
  1602. + gpu='Radeon RX 5600 OEM/5600 XT / 5700/5700 XT]'
  1603. + gpu='Radeon RX 5600 OEM/5600 XT / 5700/5700 XT'
  1604. + gpu='AMD ATI Radeon RX 5600 OEM/5600 XT / 5700/5700 XT'
  1605. + [[ on == \o\f\f ]]
  1606. + prin GPU 'AMD ATI Radeon RX 5600 OEM/5600 XT / 5700/5700 XT'
  1607. ++ trim GPU
  1608. ++ set -f
  1609. ++ set -- GPU
  1610. ++ printf '%s\n' GPU
  1611. ++ set +f
  1612. + [[ -n GPU ]]
  1613. + [[ -n AMD ATI Radeon RX 5600 OEM/5600 XT / 5700/5700 XT ]]
  1614. + [[ -n '' ]]
  1615. + string='GPU: AMD ATI Radeon RX 5600 OEM/5600 XT / 5700/5700 XT'
  1616. ++ trim 'GPU: AMD ATI Radeon RX 5600 OEM/5600 XT / 5700/5700 XT'
  1617. ++ set -f
  1618. ++ set -- GPU: AMD ATI Radeon RX 5600 OEM/5600 XT / 5700/5700 XT
  1619. ++ printf '%s\n' 'GPU: AMD ATI Radeon RX 5600 OEM/5600 XT / 5700/5700 XT'
  1620. ++ set +f
  1621. + string='GPU: AMD ATI Radeon RX 5600 OEM/5600 XT / 5700/5700 XT'
  1622. ++ strip_sequences 'GPU: AMD ATI Radeon RX 5600 OEM/5600 XT / 5700/5700 XT'
  1623. ++ strip='GPU: AMD ATI Radeon RX 5600 OEM/5600 XT / 5700/5700 XT'
  1624. ++ strip='GPU: AMD ATI Radeon RX 5600 OEM/5600 XT / 5700/5700 XT'
  1625. ++ strip='GPU: AMD ATI Radeon RX 5600 OEM/5600 XT / 5700/5700 XT'
  1626. ++ strip='GPU: AMD ATI Radeon RX 5600 OEM/5600 XT / 5700/5700 XT'
  1627. ++ strip='GPU: AMD ATI Radeon RX 5600 OEM/5600 XT / 5700/5700 XT'
  1628. ++ strip='GPU: AMD ATI Radeon RX 5600 OEM/5600 XT / 5700/5700 XT'
  1629. ++ printf '%s\n' 'GPU: AMD ATI Radeon RX 5600 OEM/5600 XT / 5700/5700 XT'
  1630. + length='GPU: AMD ATI Radeon RX 5600 OEM/5600 XT / 5700/5700 XT'
  1631. + length=54
  1632. + string='GPU\e[0m\e[0m:\e[0m AMD ATI Radeon RX 5600 OEM/5600 XT / 5700/5700 XT'
  1633. + string='\e[1mGPU\e[0m\e[0m:\e[0m AMD ATI Radeon RX 5600 OEM/5600 XT / 5700/5700 XT'
  1634. + printf '%b\n' '\e[37C\e[1mGPU\e[0m\e[0m:\e[0m AMD ATI Radeon RX 5600 OEM/5600 XT / 5700/5700 XT\e[0m '
  1635. + (( ++info_height ))
  1636. + prin=1
  1637. + return
  1638. + [[ -n 1 ]]
  1639. + return
  1640. + info Memory memory
  1641. + [[ -n memory ]]
  1642. + subtitle=Memory
  1643. + unset -v prin
  1644. + get_memory
  1645. + case $os in
  1646. + IFS=:
  1647. + read -r a b
  1648. + case $a in
  1649. + (( mem_used+= 16401620 ))
  1650. + mem_total=' 16401620 '
  1651. + IFS=:
  1652. + read -r a b
  1653. + case $a in
  1654. + mem_used=9367772
  1655. + IFS=:
  1656. + read -r a b
  1657. + case $a in
  1658. + IFS=:
  1659. + read -r a b
  1660. + case $a in
  1661. + mem_used=9155996
  1662. + IFS=:
  1663. + read -r a b
  1664. + case $a in
  1665. + mem_used=4854960
  1666. + IFS=:
  1667. + read -r a b
  1668. + case $a in
  1669. + IFS=:
  1670. + read -r a b
  1671. + case $a in
  1672. + IFS=:
  1673. + read -r a b
  1674. + case $a in
  1675. + IFS=:
  1676. + read -r a b
  1677. + case $a in
  1678. + IFS=:
  1679. + read -r a b
  1680. + case $a in
  1681. + IFS=:
  1682. + read -r a b
  1683. + case $a in
  1684. + IFS=:
  1685. + read -r a b
  1686. + case $a in
  1687. + IFS=:
  1688. + read -r a b
  1689. + case $a in
  1690. + IFS=:
  1691. + read -r a b
  1692. + case $a in
  1693. + IFS=:
  1694. + read -r a b
  1695. + case $a in
  1696. + IFS=:
  1697. + read -r a b
  1698. + case $a in
  1699. + IFS=:
  1700. + read -r a b
  1701. + case $a in
  1702. + IFS=:
  1703. + read -r a b
  1704. + case $a in
  1705. + IFS=:
  1706. + read -r a b
  1707. + case $a in
  1708. + IFS=:
  1709. + read -r a b
  1710. + case $a in
  1711. + IFS=:
  1712. + read -r a b
  1713. + case $a in
  1714. + (( mem_used+= 169944 ))
  1715. + IFS=:
  1716. + read -r a b
  1717. + case $a in
  1718. + IFS=:
  1719. + read -r a b
  1720. + case $a in
  1721. + IFS=:
  1722. + read -r a b
  1723. + case $a in
  1724. + mem_used=4601744
  1725. + IFS=:
  1726. + read -r a b
  1727. + case $a in
  1728. + IFS=:
  1729. + read -r a b
  1730. + case $a in
  1731. + IFS=:
  1732. + read -r a b
  1733. + case $a in
  1734. + IFS=:
  1735. + read -r a b
  1736. + case $a in
  1737. + IFS=:
  1738. + read -r a b
  1739. + case $a in
  1740. + IFS=:
  1741. + read -r a b
  1742. + case $a in
  1743. + IFS=:
  1744. + read -r a b
  1745. + case $a in
  1746. + IFS=:
  1747. + read -r a b
  1748. + case $a in
  1749. + IFS=:
  1750. + read -r a b
  1751. + case $a in
  1752. + IFS=:
  1753. + read -r a b
  1754. + case $a in
  1755. + IFS=:
  1756. + read -r a b
  1757. + case $a in
  1758. + IFS=:
  1759. + read -r a b
  1760. + case $a in
  1761. + IFS=:
  1762. + read -r a b
  1763. + case $a in
  1764. + IFS=:
  1765. + read -r a b
  1766. + case $a in
  1767. + IFS=:
  1768. + read -r a b
  1769. + case $a in
  1770. + IFS=:
  1771. + read -r a b
  1772. + case $a in
  1773. + IFS=:
  1774. + read -r a b
  1775. + case $a in
  1776. + IFS=:
  1777. + read -r a b
  1778. + case $a in
  1779. + IFS=:
  1780. + read -r a b
  1781. + case $a in
  1782. + IFS=:
  1783. + read -r a b
  1784. + case $a in
  1785. + IFS=:
  1786. + read -r a b
  1787. + case $a in
  1788. + IFS=:
  1789. + read -r a b
  1790. + case $a in
  1791. + IFS=:
  1792. + read -r a b
  1793. + case $a in
  1794. + IFS=:
  1795. + read -r a b
  1796. + case $a in
  1797. + IFS=:
  1798. + read -r a b
  1799. + case $a in
  1800. + IFS=:
  1801. + read -r a b
  1802. + case $a in
  1803. + IFS=:
  1804. + read -r a b
  1805. + case $a in
  1806. + IFS=:
  1807. + read -r a b
  1808. + case $a in
  1809. + IFS=:
  1810. + read -r a b
  1811. + case $a in
  1812. + IFS=:
  1813. + read -r a b
  1814. + mem_used=4493
  1815. + mem_total=16017
  1816. + [[ off == \o\n ]]
  1817. + case $memory_unit in
  1818. + memory='4493MiB / 16017MiB '
  1819. + case $memory_display in
  1820. + [[ -n '' ]]
  1821. + [[ -n memory ]]
  1822. ++ trim '4493MiB / 16017MiB '
  1823. ++ set -f
  1824. ++ set -- 4493MiB / 16017MiB
  1825. ++ printf '%s\n' '4493MiB / 16017MiB'
  1826. ++ set +f
  1827. + output='4493MiB / 16017MiB'
  1828. + [[ -n memory ]]
  1829. + [[ -n 4493MiB/16017MiB ]]
  1830. + prin Memory '4493MiB / 16017MiB'
  1831. ++ trim Memory
  1832. ++ set -f
  1833. ++ set -- Memory
  1834. ++ printf '%s\n' Memory
  1835. ++ set +f
  1836. + [[ -n Memory ]]
  1837. + [[ -n 4493MiB / 16017MiB ]]
  1838. + [[ -n '' ]]
  1839. + string='Memory: 4493MiB / 16017MiB'
  1840. ++ trim 'Memory: 4493MiB / 16017MiB'
  1841. ++ set -f
  1842. ++ set -- Memory: 4493MiB / 16017MiB
  1843. ++ printf '%s\n' 'Memory: 4493MiB / 16017MiB'
  1844. ++ set +f
  1845. + string='Memory: 4493MiB / 16017MiB'
  1846. ++ strip_sequences 'Memory: 4493MiB / 16017MiB'
  1847. ++ strip='Memory: 4493MiB / 16017MiB'
  1848. ++ strip='Memory: 4493MiB / 16017MiB'
  1849. ++ strip='Memory: 4493MiB / 16017MiB'
  1850. ++ strip='Memory: 4493MiB / 16017MiB'
  1851. ++ strip='Memory: 4493MiB / 16017MiB'
  1852. ++ strip='Memory: 4493MiB / 16017MiB'
  1853. ++ printf '%s\n' 'Memory: 4493MiB / 16017MiB'
  1854. + length='Memory: 4493MiB / 16017MiB'
  1855. + length=26
  1856. + string='Memory\e[0m\e[0m:\e[0m 4493MiB / 16017MiB'
  1857. + string='\e[1mMemory\e[0m\e[0m:\e[0m 4493MiB / 16017MiB'
  1858. + printf '%b\n' '\e[37C\e[1mMemory\e[0m\e[0m:\e[0m 4493MiB / 16017MiB\e[0m '
  1859. + (( ++info_height ))
  1860. + prin=1
  1861. + unset -v subtitle
  1862. + info cols
  1863. + [[ -n '' ]]
  1864. + unset -v prin
  1865. + get_cols
  1866. + local blocks blocks2 cols
  1867. + [[ on == \o\n ]]
  1868. + printf -v block_width %3s
  1869. + (( block_range[0] ))
  1870. + (( block_range[0]<=block_range[1] ))
  1871. + case ${block_range[0]} in
  1872. + printf -v blocks '%b\e[3%bm\e[4%bm%b' '' 0 0 ' '
  1873. + (( block_range[0]++ ))
  1874. + (( block_range[0]<=block_range[1] ))
  1875. + case ${block_range[0]} in
  1876. + printf -v blocks '%b\e[3%bm\e[4%bm%b' ' ' 1 1 ' '
  1877. + (( block_range[0]++ ))
  1878. + (( block_range[0]<=block_range[1] ))
  1879. + case ${block_range[0]} in
  1880. + printf -v blocks '%b\e[3%bm\e[4%bm%b' '  ' 2 2 ' '
  1881. + (( block_range[0]++ ))
  1882. + (( block_range[0]<=block_range[1] ))
  1883. + case ${block_range[0]} in
  1884. + printf -v blocks '%b\e[3%bm\e[4%bm%b' '   ' 3 3 ' '
  1885. + (( block_range[0]++ ))
  1886. + (( block_range[0]<=block_range[1] ))
  1887. + case ${block_range[0]} in
  1888. + printf -v blocks '%b\e[3%bm\e[4%bm%b' '    ' 4 4 ' '
  1889. + (( block_range[0]++ ))
  1890. + (( block_range[0]<=block_range[1] ))
  1891. + case ${block_range[0]} in
  1892. + printf -v blocks '%b\e[3%bm\e[4%bm%b' '     ' 5 5 ' '
  1893. + (( block_range[0]++ ))
  1894. + (( block_range[0]<=block_range[1] ))
  1895. + case ${block_range[0]} in
  1896. + printf -v blocks '%b\e[3%bm\e[4%bm%b' '      ' 6 6 ' '
  1897. + (( block_range[0]++ ))
  1898. + (( block_range[0]<=block_range[1] ))
  1899. + case ${block_range[0]} in
  1900. + printf -v blocks '%b\e[3%bm\e[4%bm%b' '       ' 7 7 ' '
  1901. + (( block_range[0]++ ))
  1902. + (( block_range[0]<=block_range[1] ))
  1903. + case ${block_range[0]} in
  1904. + printf -v blocks2 '%b\e[38;5;%bm\e[48;5;%bm%b' '' 8 8 ' '
  1905. + (( block_range[0]++ ))
  1906. + (( block_range[0]<=block_range[1] ))
  1907. + case ${block_range[0]} in
  1908. + printf -v blocks2 '%b\e[38;5;%bm\e[48;5;%bm%b' ' ' 9 9 ' '
  1909. + (( block_range[0]++ ))
  1910. + (( block_range[0]<=block_range[1] ))
  1911. + case ${block_range[0]} in
  1912. + printf -v blocks2 '%b\e[38;5;%bm\e[48;5;%bm%b' '  ' 10 10 ' '
  1913. + (( block_range[0]++ ))
  1914. + (( block_range[0]<=block_range[1] ))
  1915. + case ${block_range[0]} in
  1916. + printf -v blocks2 '%b\e[38;5;%bm\e[48;5;%bm%b' '   ' 11 11 ' '
  1917. + (( block_range[0]++ ))
  1918. + (( block_range[0]<=block_range[1] ))
  1919. + case ${block_range[0]} in
  1920. + printf -v blocks2 '%b\e[38;5;%bm\e[48;5;%bm%b' '    ' 12 12 ' '
  1921. + (( block_range[0]++ ))
  1922. + (( block_range[0]<=block_range[1] ))
  1923. + case ${block_range[0]} in
  1924. + printf -v blocks2 '%b\e[38;5;%bm\e[48;5;%bm%b' '     ' 13 13 ' '
  1925. + (( block_range[0]++ ))
  1926. + (( block_range[0]<=block_range[1] ))
  1927. + case ${block_range[0]} in
  1928. + printf -v blocks2 '%b\e[38;5;%bm\e[48;5;%bm%b' '      ' 14 14 ' '
  1929. + (( block_range[0]++ ))
  1930. + (( block_range[0]<=block_range[1] ))
  1931. + case ${block_range[0]} in
  1932. + printf -v blocks2 '%b\e[38;5;%bm\e[48;5;%bm%b' '       ' 15 15 ' '
  1933. + (( block_range[0]++ ))
  1934. + (( block_range[0]<=block_range[1] ))
  1935. + printf -v block_spaces %1s
  1936. + [[ -n         ]]
  1937. + cols+='        nl'
  1938. + [[ -n         ]]
  1939. + cols+='        nl'
  1940. + cols='        nl        '
  1941. + cols='        
  1942.         '
  1943. + (( info_height+=block_range[1]>7?block_height+3:block_height+2 ))
  1944. + case $col_offset in
  1945. + printf '\n\e[%bC%b\n\n' 37 '        
  1946.         '
  1947. + unset -v blocks blocks2 cols
  1948. + prin=1
  1949. + [[ -n 1 ]]
  1950. + return
  1951. + dynamic_prompt
  1952. + [[ ascii == \o\f\f ]]
  1953. + [[ ascii != \a\s\c\i\i ]]
  1954. + [[ ascii == \w\3\m ]]
  1955. + (( lines=lines>info_height?lines-info_height+1:1 ))
  1956. + printf -v nlines %1s
  1957. + printf %b '\n'
  1958. + [[ ascii == *w3m* ]]
  1959. + err 'Neofetch command: /usr/bin/neofetch -vv'
  1960. ++ color 1
  1961. ++ case $1 in
  1962. ++ printf '%b\e[3%sm' '\e[0m' 1
  1963. + err+='[!]\e[0m Neofetch command: /usr/bin/neofetch -vv
  1964. '
  1965. + err 'Neofetch version: 7.1.0'
  1966. ++ color 1
  1967. ++ case $1 in
  1968. ++ printf '%b\e[3%sm' '\e[0m' 1
  1969. + err+='[!]\e[0m Neofetch version: 7.1.0
  1970. '
  1971. + [[ on == on ]]
  1972. + printf %b '[!]\e[0m Config: Sourced user config. (/home/adnan338/.config/neofetch/config.conf)
  1973. [!]\e[0m Image: Imagemagick not found, falling back to ascii mode.
  1974. [!]\e[0m Info: Couldn'\''t detect Terminal Font.
  1975. [!]\e[0m Neofetch command: /usr/bin/neofetch -vv
  1976. [!]\e[0m Neofetch version: 7.1.0
  1977. '
  1978. [!] Config: Sourced user config. (/home/adnan338/.config/neofetch/config.conf)
  1979. [!] Image: Imagemagick not found, falling back to ascii mode.
  1980. [!] Info: Couldn't detect Terminal Font.
  1981. [!] Neofetch command: /usr/bin/neofetch -vv
  1982. [!] Neofetch version: 7.1.0
  1983. + [[ off == on ]]
  1984. + return 0
  1985. + printf '\e[?25h\e[?7h'
Advertisement
Add Comment
Please, Sign In to add comment