diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index cfd395b2..bf72ff32 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -7,5 +7,8 @@ Neofetch version Verbose log ----------- -Uncomment line 2 of the script, run neofetch again and upload the output to pastebin, gist or equiv. +1. Uncomment line 2 of the script. +2. Run `neofetch 2> neofetchlog` +3. Upload the contents of `neofetchlog` to pastebin, gist or equivalent. + diff --git a/neofetch b/neofetch index bd8ac779..07ecf94f 100755 --- a/neofetch +++ b/neofetch @@ -976,7 +976,7 @@ getcpu () { scaling_max) speed_type="scaling_max_freq" ;; esac - read -r speed < \ + read -t 1 -r speed < \ /sys/devices/system/cpu/cpu0/cpufreq/${speed_type} speed=$((speed / 100000)) @@ -1991,7 +1991,7 @@ getimage () { # The ascape code above prints the output AFTER the prompt so this # loop below reads it as input. wtf xterm - read -d c -s -r term_size; stty echo + read -t 1 -d c -s -r term_size; stty echo # Split the string term_size=${term_size//'['}