| 1 | #+TITLE: sfetch (suckless fetch) |
| 2 | #+AUTHOR: theidioticdev |
| 3 | #+OPTIONS: toc:nil num:nil |
| 4 | |
| 5 | a suckless-adjacent fetching program I wrote to improve at C. |
| 6 | [[./assets/screenshot.png]] |
| 7 | |
| 8 | just like suckless.org's projects (dwm, st, surf, etc...), sfetch is configured via editing the source code. |
| 9 | |
| 10 | * installation |
| 11 | ** first: |
| 12 | make sure you have the dependencies required: |
| 13 | 1. a compiler (=gcc=, =clang=) |
| 14 | 2. a c lib (glibc, musl, etc...) |
| 15 | ** second: |
| 16 | #+BEGIN_SRC sh :eval no |
| 17 | git clone https://gitbtw.com/fordon_greeman/sfetch |
| 18 | cd sfetch |
| 19 | cc -o sfetch sfetch.c |
| 20 | sudo cp sfetch /usr/local/bin # or cp sfetch ~/.local/bin if u have it in PATH |
| 21 | #+END_SRC |
| 22 | |
| 23 | note: if you use gentoo, you can do this instead: |
| 24 | #+BEGIN_SRC sh :eval no |
| 25 | # you must have eselect-repository package |
| 26 | eselect repository add acooliodude-overlay git https://codeberg.org/ACoolioDude/acooliodude-overlay |
| 27 | emerge --sync acooliodude-overlay | emiant sync -r acooliodude-overlay |
| 28 | emerge --ask sfetch |
| 29 | #+END_SRC |