update readme & make configs
Browse files
+15 −0 Makefile new file mode 100644
| @@ -0,0 +1,15 @@ | ||
| 1 | +CC = tcc | |
| 2 | +# CFLAGS = -Wall -Wextra -pendanic | |
| 3 | +TARGET = sfetch | |
| 4 | +all: $(TARGET) | |
| 5 | +$(TARGET): sfetch.c | |
| 6 | + $(CC) $(CFLAGS) -o $(TARGET) sfetch.c | |
| 7 | +# $(CC) -o $(TARGET) sfetch.c | |
| 8 | +install: $(TARGET) | |
| 9 | + mkdir -p $(HOME)/local/bin | |
| 10 | + mkdir -p $(HOME)/.config/sfetch | |
| 11 | + cp $(TARGET) $(HOME)/.local/bin/$(TARGET) | |
| 12 | + cp sfetch.conf ascii.txt $(HOME/.config/sfetch | |
| 13 | +uninstall: | |
| 14 | + rm -f $(HOME)/.local/bin/$(TARGET) | |
| 15 | +.PHONY: all clean install uninstall |
+3 −3 readme.org
| @@ -1,11 +1,11 @@ | ||
| 1 | -#+TITLE: sfetch (suckless fetch) | |
| 1 | +#+TITLE: sfetch (simple fetch) | |
| 2 | 2 | #+AUTHOR: theidioticdev |
| 3 | 3 | #+OPTIONS: toc:nil num:nil |
| 4 | 4 | |
| 5 | -a suckless-adjacent fetching program I wrote to improve at C. | |
| 5 | +a fetching program I wrote to improve at C. | |
| 6 | 6 | [[./assets/screenshot.png]] |
| 7 | 7 | |
| 8 | -just like suckless.org's projects (dwm, st, surf, etc...), sfetch is configured via editing the source code. | |
| 8 | +sfetch is configured by editing =~/.config/sfetch/sfetch.conf= | |
| 9 | 9 | |
| 10 | 10 | * installation |
| 11 | 11 | ** first: |