this post was submitted on 08 Nov 2023
59 points (96.8% liked)

Unixporn

15210 readers
5 users here now

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

founded 5 years ago
MODERATORS
 

I've created a minimal fetch script on my Arch Linux system. It's written in bash and has been successfully tested on Arch, Debian & Fedora. It works out of the box on Arch, but you do need to change the package count command to adapt it to work with different package managers other than pacman. Also make sure that you have lsb-release installed.

**[ HERE IS A LINK TO THE CODE !! ]**

top 11 comments
sorted by: hot top controversial new old
[–] theshatterstone54@feddit.uk 12 points 10 months ago* (last edited 10 months ago) (2 children)

I have to say: while it is a fun project (I used to maintain my own fetch too), what most people don't realise is that neofetch is quite customisable to the point that I replaced my custom fetch with neofetch. If you're doing it to learn, great! Keep going! If you're doing it for functional purposes only, I'd recommend just customising neofetch and keeping a neofetch config around i your dotfiles or something. Still really cool though. For people interested in configuring neofetch: https://www.youtube.com/watch?v=Ov3yi-9jbFI

Also, what are you using as a shell prompt: PS1, Starship or something else?

[–] PipedLinkBot@feddit.rocks 5 points 10 months ago (1 children)

Here is an alternative Piped link(s):

https://www.piped.video/watch?v=Ov3yi-9jbFI

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source; check me out at GitHub.

[–] theshatterstone54@feddit.uk 7 points 10 months ago

Good bot

Wait. Is there a bot rankings bot on Lemmy?

[–] furycd001@lemmy.ml 4 points 10 months ago (1 children)

While I've nothing against neofetch, I prefer to use my own fetch because it needs little to no maintenance and has everything I need. I actually think that maintaining a neofetch config might actually be more work in the long run. Anyway.. I'm using plain old Bash for my shell prompt. I've just customized it using nerd fonts (see one of my other comments on this post for the command)....

[–] theshatterstone54@feddit.uk 5 points 10 months ago (1 children)

Fair enough. Whatever floats your boat, I guess. And I'm sure your script is faster because it doesn't deal with nearly as many of the useless complexities of neofetch.

[–] furycd001@lemmy.ml 1 points 10 months ago (1 children)

I've not used neofetch in quite some time, but I'm sure my own is indeed faster....

[–] theshatterstone54@feddit.uk 2 points 10 months ago

Your script is <100 lines, and I'm sure neofetch is far larger and slower

[–] trompete@hexbear.net 2 points 10 months ago (2 children)

How did you manage that Pacman ghost prompt?

[–] furycd001@lemmy.ml 5 points 10 months ago

Install nerd fonts & place the line below in your .bashrc....

bash export PS1='\[\e[0m\] \[\e[0m\] \[\e[0m\]'

[–] stepanzak@iusearchlinux.fyi 4 points 10 months ago (1 children)
[–] furycd001@lemmy.ml 3 points 10 months ago

You are 100% correct :)