SHARE
TWEET

Untitled

noprobelm Feb 14th, 2020 88 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. + verbose=on
  2. + shift
  3. + [[ -n '' ]]
  4. + [[ on != \o\n ]]
  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. + type -p lsb_release
  19. + [[ -f /etc/os-release ]]
  20. + files=("/etc/os-release" "/usr/lib/os-release" "/etc/openwrt_release")
  21. + for file in "${files[@]}"
  22. + source /etc/os-release
  23. ++ NAME='Arch Linux'
  24. ++ PRETTY_NAME='Arch Linux'
  25. ++ ID=arch
  26. ++ BUILD_ID=rolling
  27. ++ ANSI_COLOR='0;36'
  28. ++ HOME_URL=https://www.archlinux.org/
  29. ++ DOCUMENTATION_URL=https://wiki.archlinux.org/
  30. ++ SUPPORT_URL=https://bbs.archlinux.org/
  31. ++ BUG_REPORT_URL=https://bugs.archlinux.org/
  32. ++ LOGO=archlinux
  33. + break
  34. + case "$distro_shorthand" in
  35. + distro='Arch Linux '
  36. + [[ Linux version 5.5.3-arch1-1 (linux@archlinux) (gcc version 9.2.1 20200130 (Arch Linux 9.2.1+20200130-2)) #1 SMP PREEMPT Tue, 11 Feb 2020 15:35:41 +0000 == *Microsoft* ]]
  37. + [[ 5.5.3-arch1-1 == *Microsoft* ]]
  38. + [[ Linux version 5.5.3-arch1-1 (linux@archlinux) (gcc version 9.2.1 20200130 (Arch Linux 9.2.1+20200130-2)) #1 SMP PREEMPT Tue, 11 Feb 2020 15:35:41 +0000 == *chrome-bot* ]]
  39. + [[ -f /dev/cros_ec ]]
  40. ++ trim_quotes 'Arch Linux '
  41. ++ trim_output='Arch Linux '
  42. ++ trim_output='Arch Linux '
  43. ++ printf %s 'Arch Linux '
  44. + distro='Arch Linux '
  45. + distro='Arch Linux '
  46. + distro='Arch Linux '
  47. + [[ -z Arch Linux  ]]
  48. + case "$os" in
  49. + machine_arch=x86_64
  50. + [[ on == \o\n ]]
  51. + distro+=' x86_64'
  52. + [[ auto == \a\u\t\o ]]
  53. ++ trim 'Arch Linux  x86_64'
  54. ++ set -f
  55. ++ set -- Arch Linux x86_64
  56. ++ printf '%s\n' 'Arch Linux x86_64'
  57. ++ set +f
  58. + ascii_distro='Arch Linux x86_64'
  59. + get_bold
  60. + case "$ascii_bold" in
  61. + ascii_bold='\e[1m'
  62. + case "$bold" in
  63. + bold='\e[1m'
  64. + get_distro_ascii
  65. + case "$(trim "$ascii_distro")" in
  66. ++ trim 'Arch Linux x86_64'
  67. ++ set -f
  68. ++ set -- Arch Linux x86_64
  69. ++ printf '%s\n' 'Arch Linux x86_64'
  70. ++ set +f
  71. + set_colors 6 6 7 1
  72. ++ color 6
  73. ++ case "$1" in
  74. ++ printf '%b\e[3%sm' '\e[0m' 6
  75. + c1='\e[1m'
  76. ++ color 6
  77. ++ case "$1" in
  78. ++ printf '%b\e[3%sm' '\e[0m' 6
  79. + c2='\e[1m'
  80. ++ color 7
  81. ++ case "$1" in
  82. ++ printf '\e[37m%b' '\e[0m'
  83. + c3='\e[1m'
  84. ++ color 1
  85. ++ case "$1" in
  86. ++ printf '%b\e[3%sm' '\e[0m' 1
  87. + c4='\e[1m'
  88. ++ color ''
  89. ++ case "$1" in
  90. ++ printf '\e[38;5;%bm' ''
  91. + c5='\e[1m'
  92. ++ color ''
  93. ++ case "$1" in
  94. ++ printf '\e[38;5;%bm' ''
  95. + c6='\e[1m'
  96. + [[ '' != \o\f\f ]]
  97. + set_text_colors 6 6 7 1
  98. + [[ distro == \d\i\s\t\r\o ]]
  99. ++ color 6
  100. ++ case "$1" in
  101. ++ printf '%b\e[3%sm' '\e[0m' 6
  102. + title_color=''
  103. + at_color='\e[0m'
  104. + underline_color='\e[0m'
  105. ++ color 6
  106. ++ case "$1" in
  107. ++ printf '%b\e[3%sm' '\e[0m' 6
  108. + subtitle_color=''
  109. + colon_color='\e[0m'
  110. + info_color='\e[0m'
  111. + (( 6 == 8 ))
  112. + (( 6 == 8 ))
  113. + (( 6 == 7 ))
  114. + (( 6 == 7 ))
  115. + [[ distro == \d\i\s\t\r\o ]]
  116. ++ color fg
  117. ++ case "$1" in
  118. ++ printf '\e[37m%b' '\e[0m'
  119. + bar_color_elapsed=''
  120. + case "$bar_color_total $1" in
  121. ++ color 6
  122. ++ case "$1" in
  123. ++ printf '%b\e[3%sm' '\e[0m' 6
  124. + bar_color_total=''
  125. + read -rd '' ascii_data
  126. + [[ distro != \d\i\s\t\r\o ]]
  127. + [[ off == \o\n ]]
  128. + [[ screen.xterm-256color != \m\i\n\i\x ]]
  129. + [[ off != \o\n ]]
  130. + trap 'printf "\e[?25h\e[?7h"' EXIT
  131. + printf '\e[?25l\e[?7l'
  132. + image_backend
  133. + [[ w3m != \o\f\f ]]
  134. + type -p convert
  135. + case "${image_backend:-off}" in
  136. + get_image_source
  137. + case "$image_source" in
  138. ++ get_full_path /home/noprobelm/images/IMG-20200120-WA0001.jpg
  139. ++ [[ -f /home/noprobelm//home/noprobelm/images/IMG-20200120-WA0001.jpg ]]
  140. ++ cd /home/noprobelm/images
  141. ++ local full_dir=IMG-20200120-WA0001.jpg
  142. ++ [[ -L IMG-20200120-WA0001.jpg ]]
  143. +++ pwd -P
  144. ++ full_dir=/home/noprobelm/images/IMG-20200120-WA0001.jpg
  145. ++ [[ -e /home/noprobelm/images/IMG-20200120-WA0001.jpg ]]
  146. ++ printf '%s\n' /home/noprobelm/images/IMG-20200120-WA0001.jpg
  147. + image_source=/home/noprobelm/images/IMG-20200120-WA0001.jpg
  148. + [[ -d /home/noprobelm/images/IMG-20200120-WA0001.jpg ]]
  149. + image=/home/noprobelm/images/IMG-20200120-WA0001.jpg
  150. + err 'Image: Using image '\''/home/noprobelm/images/IMG-20200120-WA0001.jpg'\'''
  151. ++ color 1
  152. ++ case "$1" in
  153. ++ printf '%b\e[3%sm' '\e[0m' 1
  154. + err+='[!]\e[0m Image: Using image '\''/home/noprobelm/images/IMG-20200120-WA0001.jpg'\''
  155. '
  156. + [[ ! -f /home/noprobelm/images/IMG-20200120-WA0001.jpg ]]
  157. + get_window_size
  158. + [[ w3m == \k\i\t\t\y ]]
  159. + ((  0 < 50  ))
  160. + [[ -n :0 ]]
  161. + [[ Linux != \M\a\c\ \O\S\ \X ]]
  162. + type -p xdotool
  163. + type -p xwininfo
  164. + type -p xdo
  165. + type -p xdpyinfo
  166. ++ xdpyinfo
  167. ++ grep -F focus:
  168. + current_window='focus:  window 0x600004, revert to Parent'
  169. + current_window='0x600004, revert to Parent'
  170. + current_window=0x600004
  171. + [[ -n 0x600004 ]]
  172. ++ xwininfo -id 0x600004
  173. + term_size='
  174. xwininfo: Window id: 0x600004 (has no name)
  175.  
  176.   Absolute upper-left X:  121
  177.   Absolute upper-left Y:  26
  178.   Relative upper-left X:  -1
  179.   Relative upper-left Y:  -1
  180.   Width: 1
  181.   Height: 1
  182.   Depth: 0
  183.   Visual: 0x17d
  184.   Visual Class: TrueColor
  185.   Border width: 0
  186.   Class: InputOnly
  187.   Colormap: 0x0 (not installed)
  188.   Bit Gravity State: ForgetGravity
  189.   Window Gravity State: NorthWestGravity
  190.   Backing Store State: NotUseful
  191.   Save Under State: no
  192.   Map State: IsViewable
  193.   Override Redirect State: no
  194.   Corners:  +121+26  -3718+26  -3718-2133  +121-2133
  195.   -geometry 1x1+121+1'
  196. + term_width='1
  197.   Height: 1
  198.   Depth: 0
  199.   Visual: 0x17d
  200.   Visual Class: TrueColor
  201.   Border width: 0
  202.   Class: InputOnly
  203.   Colormap: 0x0 (not installed)
  204.   Bit Gravity State: ForgetGravity
  205.   Window Gravity State: NorthWestGravity
  206.   Backing Store State: NotUseful
  207.   Save Under State: no
  208.   Map State: IsViewable
  209.   Override Redirect State: no
  210.   Corners:  +121+26  -3718+26  -3718-2133  +121-2133
  211.   -geometry 1x1+121+1'
  212. + term_width=1
  213. + term_height='1
  214.   Depth: 0
  215.   Visual: 0x17d
  216.   Visual Class: TrueColor
  217.   Border width: 0
  218.   Class: InputOnly
  219.   Colormap: 0x0 (not installed)
  220.   Bit Gravity State: ForgetGravity
  221.   Window Gravity State: NorthWestGravity
  222.   Backing Store State: NotUseful
  223.   Save Under State: no
  224.   Map State: IsViewable
  225.   Override Redirect State: no
  226.   Corners:  +121+26  -3718+26  -3718-2133  +121-2133
  227.   -geometry 1x1+121+1'
  228. + term_height=1
  229. + term_width=1
  230. + (( term_width < 1 ))
  231. + printf '\e[2J\e[H'
  232. + get_image_size
  233. + get_term_size
  234. + read -r lines columns
  235. ++ stty size
  236. + font_width=0
  237. + font_height=0
  238. + case "$image_size" in
  239. + image_size=0
  240. + term_height=1
  241. + (( term_height < image_size ))
  242. + [[ w3m == \w\3\m ]]
  243. + term_padding
  244. + [[ -z '' ]]
  245. + get_term
  246. + (( term_run == 1 ))
  247. + case "$TERM_PROGRAM" in
  248. + term=
  249. + [[ screen.xterm-256color == \t\w\5\2 ]]
  250. + [[ screen.xterm-256color == \t\w\1\0\0 ]]
  251. + [[ -n '' ]]
  252. + [[ -z '' ]]
  253. ++ get_ppid ''
  254. ++ case "$os" in
  255. +++ grep -i -F PPid: /proc/650/status
  256. ++ ppid='PPid:  643'
  257. +++ trim '  643'
  258. +++ set -f
  259. +++ set -- 643
  260. +++ printf '%s\n' 643
  261. +++ set +f
  262. ++ ppid=643
  263. ++ printf %s 643
  264. + parent=643
  265. + [[ -z 643 ]]
  266. ++ get_process_name 643
  267. ++ case "$os" in
  268. ++ name=screen
  269. ++ printf %s screen
  270. + name=screen
  271. + case "${name// }" in
  272. + [[ -z '' ]]
  273. ++ get_ppid 643
  274. ++ case "$os" in
  275. +++ grep -i -F PPid: /proc/643/status
  276. ++ ppid='PPid:  1'
  277. +++ trim '  1'
  278. +++ set -f
  279. +++ set -- 1
  280. +++ printf '%s\n' 1
  281. +++ set +f
  282. ++ ppid=1
  283. ++ printf %s 1
  284. + parent=1
  285. + [[ -z 1 ]]
  286. ++ get_process_name 1
  287. ++ case "$os" in
  288. ++ name=systemd
  289. ++ printf %s systemd
  290. + name=systemd
  291. + case "${name// }" in
  292. + break
  293. + term_run=1
  294. + case "$term" in
  295. + width=0
  296. + height=0
  297. /usr/bin/neofetch: line 3793: (width + padding + xoffset) / font_width + gap: division by 0 (error token is "font_width + gap")
  298. + printf '\e[?25h\e[?7h'
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top