xoffset now also moves the text
This commit is contained in:
parent
8094dd9cfa
commit
81337b5a2e
2 changed files with 5 additions and 1 deletions
4
1.5.md
4
1.5.md
|
@ -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)**.
|
||||
|
|
2
neofetch
2
neofetch
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue