Update readme
This commit is contained in:
parent
6ad6283895
commit
b91a583ed1
|
@ -137,7 +137,6 @@ Here's what's on my todo list
|
||||||
- Add an easy way to define info prefixes at launch.
|
- Add an easy way to define info prefixes at launch.
|
||||||
- Cleanup
|
- Cleanup
|
||||||
- Add options to bold other text in the script (info, underline, colons)
|
- Add options to bold other text in the script (info, underline, colons)
|
||||||
- Fix linewrapping flag with tmux
|
|
||||||
- Fix issues with multiline prompts
|
- Fix issues with multiline prompts
|
||||||
|
|
||||||
|
|
||||||
|
|
7
fetch.sh
7
fetch.sh
|
@ -526,15 +526,15 @@ fi
|
||||||
# Padding
|
# Padding
|
||||||
pad=$(printf "%${padding}s")
|
pad=$(printf "%${padding}s")
|
||||||
|
|
||||||
|
# Hide the terminal cursor while we print the info
|
||||||
|
tput civis
|
||||||
|
|
||||||
# Clear terminal before printing anything
|
# Clear terminal before printing anything
|
||||||
clear
|
clear
|
||||||
|
|
||||||
# Underline title with length of title
|
# Underline title with length of title
|
||||||
[ $underline == "on" ] && uline=$(printf %"${#title}"s |tr " " "$underline_char")
|
[ $underline == "on" ] && uline=$(printf %"${#title}"s |tr " " "$underline_char")
|
||||||
|
|
||||||
# Hide the terminal cursor while we print the info
|
|
||||||
tput civis
|
|
||||||
|
|
||||||
# Disable line wrap
|
# Disable line wrap
|
||||||
# Checks to see if we're in a tmux/screen session.
|
# Checks to see if we're in a tmux/screen session.
|
||||||
[ $linewrap == "off" ] && printf '\e[?7l'
|
[ $linewrap == "off" ] && printf '\e[?7l'
|
||||||
|
@ -568,6 +568,7 @@ printf "\n"
|
||||||
[ $linewrap == "off" ] && printf '\e[?7h'
|
[ $linewrap == "off" ] && printf '\e[?7h'
|
||||||
|
|
||||||
# If w3mimgviewer is found Display the image
|
# If w3mimgviewer is found Display the image
|
||||||
|
sleep .02
|
||||||
if type -p /usr/lib/w3m/w3mimgdisplay >/dev/null 2>&1; then
|
if type -p /usr/lib/w3m/w3mimgdisplay >/dev/null 2>&1; then
|
||||||
printf "0;1;$xoffset;$yoffset;$imgsize;$imgsize;;;;;$img\n4;\n3;" |\
|
printf "0;1;$xoffset;$yoffset;$imgsize;$imgsize;;;;;$img\n4;\n3;" |\
|
||||||
/usr/lib/w3m/w3mimgdisplay
|
/usr/lib/w3m/w3mimgdisplay
|
||||||
|
|
Reference in New Issue