| 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://codeberg.org/theidioticdev/sfetch |
| 18 | cd sfetch |
| 19 | gcc bs.c -o build |
| 20 | sudo/doas ./build --install # to install system-wide, tweak bs.c and recompile it if u want to install to .local/bin |
| 21 | ./build # to build only |
| 22 | sudo/doas ./build --uninstall # uninstall it |
| 23 | #+END_SRC |
| 24 | |
| 25 | note: if you use gentoo, you can do this instead: |
| 26 | #+BEGIN_SRC sh :eval no |
| 27 | # you must have eselect-repository package |
| 28 | eselect repository add acooliodude-overlay git https://codeberg.org/ACoolioDude/acooliodude-overlay |
| 29 | emerge --sync acooliodude-overlay | emiant sync -r acooliodude-overlay |
| 30 | emerge --ask sfetch |
| 31 | #+END_SRC |