A ultra minimal fetch program written in C

3 years ago by africavoid to c/unixporn

Here you can find the repo if you want to use it. The jist of it is that you configure the source code like you would dwm, or st and then you have a very fast and light fetch program. For the ascii it takes a file called conf found in $HOME/.config/cfetch/ so you can easily change the ascii output. The repo has two ascii files one for gentoo and one for openbsd by default, check it out, critisize it do whatever.

load all comments
andnekon 3 points 3 years ago

It's great!

But is it really that different from writing a shell-script with those commands?

path: 0 356759, hotness: undefined, score: 3, children: 3
africavoid 2 points 3 years ago

Yesn't, yes it likey runs the same commands as neofetch, but if you run time with it you can see the difference, neofetch on my linux machine takes 0.3 seconds to run but cfetch takes >0.01 seconds to run, sometimes it doesn't show. In practice you probably wont notice it, but MINIMALISM

path: 0 356759 359553, hotness: undefined, score: 2, children: 0
sorrybookbroke 1 point 3 years ago

Not op, but functionally no, as it would be rare a user wouldn't use bash to run it but it does remove the dependance on a shell, and is likely quicker. It could, technically, be run without a shell too. It would also work on non posix compliant shells, or anything which can run the command. Not something that this application would be likely to do, it is just a fetch app, but it's still a fun little project

path: 0 356759 360815, hotness: undefined, score: 1, children: 1
andnekon 0 points 3 years ago

Thanks for clarifying!

path: 0 356759 360815 362005, hotness: undefined, score: 0, children: 0
unixporn

@lemmy.ml

login for more options
19912
810
338

Unixporn

Submit screenshots of all your *NIX desktops, themes, and nifty configurations, or submit anything else that will make themers happy. Maybe a server running on an Amiga, or a Thinkpad signed by Bjarne Stroustrup? Show the world how pretty your computer can be!

Rules

  1. Post On-Topic
  2. No Defaults
  3. Busy Screenshots
  4. Use High-Quality Images
  5. Include a Details Comment
  6. No NSFW
  7. No Racism or use of racist terms

go to feed...