KittyKatt / screenFetch

Fetches system/theme information in terminal for Linux desktop screenshots.
GNU General Public License v3.0
3.88k stars 454 forks source link

extra line before RAM #770

Open gustavohellwig opened 1 year ago

gustavohellwig commented 1 year ago

Hi, When I run this:

screenfetch -n -d '-host;-kernel;-uptime;-pkgs;-shell;-res'

it does show this:

 OS: Ubuntu 20.04 focal
 Disk: 9.7G / 23G (45%)
 CPU: Intel Xeon E5-2620 v4 @ 2x 2.1GHz

 RAM: 430MiB / 3919MiB

As you can see, it does have an extra space before RAM. However, when It runs without the -n, that extra space doesn't show. Also, that space shows even if you just run the screenfetch -n

github12101 commented 6 months ago

I was able to reproduce. Empty line is where GPU supposed to be.

via X11:

$ screenfetch -n
x
 OS: Debian 12 bookworm
 Kernel: x86_64 Linux 6.1.0-20-amd64
 Uptime: 15d 7h 56m
 Packages: 2939
 Shell: bash 5.2.15
 Resolution: 1920x1080
 DE: Xfce
 WM: Xfwm4
 WM Theme: Breeze
 GTK Theme: Adwaita [GTK2]
 Icon Theme: Tango
 Font: Sans 10
 Disk: 5.5T / 7.3T (75%)
 CPU: AMD Ryzen 7 1700 Eight-Core @ 16x 3GHz
 GPU: llvmpipe (LLVM 15.0.6, 256 bits)
 RAM: 24987MiB / 64210MiB

Same computer but via SSH:

$ screenfetch -n
x
 OS: Debian 12 bookworm
 Kernel: x86_64 Linux 6.1.0-20-amd64
 Uptime: 15d 7h 56m
 Packages: 2939
 Shell: bash 5.2.15
 Disk: 5.5T / 7.3T (75%)
 CPU: AMD Ryzen 7 1700 Eight-Core @ 16x 3GHz

 RAM: 24986MiB / 64210MiB
gustavohellwig commented 6 months ago

Great. Is there a way to fix that when the connection in by ssh?