KittyKatt / screenFetch

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

./screenfetch-dev -n & username #255

Open brontosaurusrex opened 9 years ago

brontosaurusrex commented 9 years ago

one

./screenfetch-dev -n

Gives me a borken output like this on wheezy :

someuser@crunchbang
OS: CrunchBang 11 "CrunchBang 11 waldorf"
Kernel: x86_64 Linux 3.2.0-4-amd64
Uptime: 20d 5h 40m
Packages: 3039
Shell: bash 4.2.37
Resolution: 1280x1024
WM: OpenBox
WM Theme: Bang Dark Green Bronto
Bang Light Green [GTK2]
, Bang Light Green [GTK3]

 Font: Cuprum 11
 CPU: Intel Pentium 4 CPU 3.20GHz @ 3.193GHz
 GPU: GeForce 9400 GT/PCIe/SSE2
 RAM: 486MiB / 1001MiB

while

./screenfetch-dev

is fine.

two

Displaying username, host

someuser@crunchbang

as first line is unwanted imho, also possible security risk.

KittyKatt commented 9 years ago

For one, non-ascii-art mode is known broken. Definitely on my TODO list.

You can alias screenfetch to screenfetch -d '-host' for two. -d is pretty flexible. Unfortunately, when removing host, something goes kinda wonky and extra space ends up somewhere. I'll look into fixing that, but that's not a problem with -d at all. More of a problem with detectHost.

KittyKatt commented 4 years ago

Documentation still needed.