fordon_greeman / sfetch

update readme & make configs Browse files
theidioticdev committed 1d ago parent 84c134e commit 4d3f5a6b24d2331ea5736e38d95bac27d0fa8a86
Showing 2 changed files with 18 additions and 3 deletions. UnifiedSplit
+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 #+AUTHOR: theidioticdev 2 #+AUTHOR: theidioticdev
3 #+OPTIONS: toc:nil num:nil 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 [[./assets/screenshot.png]] 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 * installation 10 * installation
11 ** first: 11 ** first: