Skip to content

Commit d658243

Browse files
committed
squash refactoring, bump version to 0.1.2
kfc: change SEQ to SEQUENCE kfc: remove setenv() function kfc: cleanup and commenting kfc: remove randf kfc: cleanup kfc: cleanup remove kfc.h replace system() with popen() README Update README Update fix '/' allocated memory, refactor len variable changed len and fp from global to local variables change from global to local variable change *flag variables to local variables free at end of main() changed and from global to local variables add default directory if XDG_CONFIG_HOME does not exist realloc memory for sel in random_palette() change from gloval to local variable change sval from global to local variable realloc() memory when selecting a palette fix random palette failures kfc cleanup change getenv() to threadsafe operation main(): free variable Update README to thank E5ten for his help formatting cleanup Update README remove free(tmp) since it's an invalid pointer Add files via upload cleanup formatting rename screenshot image in docs/ directory fix sel malloc() fix sel malloc() fix realloc cleanup
1 parent 8c6b125 commit d658243

File tree

5 files changed

+207
-182
lines changed

5 files changed

+207
-182
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ CC ?= gcc
55

66
all: kfc
77

8-
kfc: kfc.c kfc.h Makefile
8+
kfc: kfc.c Makefile
99
$(CC) -O3 $(CFLAGS) -o $@ $< -lX11 $(LDFLAGS)
1010

1111
install: all

README

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@ windows. This allows one to achieve consistent colors across all terminal
1212
utilities and applications. This application has similar functionality to okpal
1313
but is designed with execution speed in mind. There are currently 300 light and
1414
dark color palettes offered at this time that can be applied and quickly swapped
15-
out for others.
15+
out for others.
1616

1717

1818
COMPATIBILITY
1919
-------------
2020

21-
Compatibility with the following terminator-emulators on KISS Linux have been
22-
tested and confirmed:
21+
Compatibility with the following terminator-emulators have been tested and
22+
confirmed on KISS Linux [1]:
2323

24-
- simple terminal, st [1]
25-
- alacritty [2]
24+
- simple terminal, st [2]
25+
- alacritty [3]
2626

2727

2828
DEPENDENCIES
@@ -44,7 +44,8 @@ Building and installing from source:
4444

4545
Installing on KISS Linux:
4646

47-
kiss b kfc && kiss i kfc
47+
kiss b kfc
48+
kiss i kfc
4849

4950

5051
USAGE
@@ -97,8 +98,9 @@ in the docs/ folder) by creating a Pull Request.
9798
REFERENCES
9899
----------
99100
[0] https://github.com/dylanaraps/okpal
100-
[1] Note that background, foreground and cursor color setting does not work
101+
[1] https://k1ss.org
102+
[2] Note that background, foreground and cursor color setting does not work
101103
without applying the 'OSC 10 11 12' patch.
102104
https://st.suckless.org
103-
[2] Confirmed to work in wayland (per sdsddsd1).
105+
[3] Confirmed to work in wayland (per sdsddsd1).
104106
https://github.com/mcpcpc/kfc/issues/1#issuecomment-657241830

docs/screenshot.png

27.7 KB
Loading

0 commit comments

Comments
 (0)