xoffset now also moves the text

This commit is contained in:
Dylan 2016-03-13 10:49:57 +11:00
parent 8094dd9cfa
commit 81337b5a2e
2 changed files with 5 additions and 1 deletions

4
1.5.md
View file

@ -24,6 +24,10 @@ to customize where or if the progress bar will appear.
- Added support for `SteamOS`.
### Images
- Using `xoffset` now also moves the text over.
### Packages
- Neofetch is now packaged for `Fedora` and `Fedora` based distros. Thanks **[@konimex](https://github.com/konimex)**.

View file

@ -1942,7 +1942,7 @@ getimage () {
case "$image_position" in
"left")
# Padding is half the terminal width + gap
padding="\033[$((image_size / font_width + gap))C"
padding="\033[$((image_size / font_width + gap + xoffset/font_width))C"
;;
"right")