Better verbose mode instructions
This commit is contained in:
parent
b37838794e
commit
d0dbe0325e
2 changed files with 6 additions and 3 deletions
5
.github/ISSUE_TEMPLATE.md
vendored
5
.github/ISSUE_TEMPLATE.md
vendored
|
@ -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.
|
||||
|
||||
|
||||
|
|
4
neofetch
4
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//'['}
|
||||
|
|
Loading…
Reference in a new issue