From 81337b5a2e2687a7c3fe08f558f35b7d06fdf80c Mon Sep 17 00:00:00 2001 From: Dylan Date: Sun, 13 Mar 2016 10:49:57 +1100 Subject: [PATCH] xoffset now also moves the text --- 1.5.md | 4 ++++ neofetch | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/1.5.md b/1.5.md index f845f5a9..648f20d8 100644 --- a/1.5.md +++ b/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)**. diff --git a/neofetch b/neofetch index b2f05971..c0908de2 100755 --- a/neofetch +++ b/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")