cfetch icon indicating copy to clipboard operation
cfetch copied to clipboard

Some fields break `cfetch`

Open marauder316 opened this issue 4 years ago • 4 comments

I'm using Regolith 20.10 and I followed the installation steps as usual. Here's my output with the fetch tool:

λ ~/ cd ~/clone-wars/cfetch/       
λ ~/clone-wars/cfetch/ main* bash cfetch.sh                    
╭╔═════════════════════════════════╗╮
╫║ λ hilbish  okha		 Λ ║╫
╫║ ξ os		Ubuntu 20.10	 Ξ ║╫
╫║ π wm/de	Regolith:GNOME-Flashback:GNOME		 Π ║╫
╫║ ψ kernel	5.11.10-051110-generic	 Ψ ║╫
╫║ ω ram	2812M / 5936M	 ω ║╫
╰╚═════════════════════════════════╝╯
λ ~/clone-wars/cfetch/ main* 

As you can see, the fields for $USER, de/wm and kernel are slightly broken. I don't know if anyone else may have a similar problem.

marauder316 avatar Apr 08 '21 04:04 marauder316

Seems like an error that has something to do with the tabbing, just updated the repository. Can you install cfetch and run it again?

melorin4 avatar Apr 12 '21 10:04 melorin4

@melorin4 Just pulled from master, it still happens here (Arch, st terminal): image

BachoSeven avatar Apr 12 '21 22:04 BachoSeven

He didn't think through writing this. The lengths of the values are going to be different on every system. He wrote it to work with his system. This script is broken as-is right now.

Waxxx333 avatar Jan 17 '22 01:01 Waxxx333

fetchywoopsie

Just edit the line: echo "${GREEN}╫║ ${ORANGE}λ ${LYELLOW}$HOSTNAME${WHITE}\t$USER""\t\t"${GREEN} ${ORANGE}Λ ${GREEN}║╫

to:

GREEN}╫║ ${ORANGE}λ ${LYELLOW}$HOSTNAME${WHITE}\t$USER\t"${GREEN} ${ORANGE}Λ ${GREEN}║╫

cipherodio avatar Jan 23 '22 07:01 cipherodio