Skip to content

Commit cec4496

Browse files
committed
package name change
change from "KISS colors" to "kiss for colors"
1 parent 231d149 commit cec4496

File tree

5 files changed

+23
-23
lines changed

5 files changed

+23
-23
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
kc
1+
kfc

Makefile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,21 @@ PREFIX ?= /usr
33
BINDIR ?= $(PREFIX)/bin
44
CC ?= gcc
55

6-
all: kc
6+
all: kfc
77

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

1111
install: all
12-
install -Dm755 kc $(DESTDIR)$(BINDIR)/kc
13-
mkdir -p $(DESTDIR)/usr/share/kc
14-
cp -r palettes $(DESTDIR)/usr/share/kc
12+
install -Dm755 kfc $(DESTDIR)$(BINDIR)/kfc
13+
mkdir -p $(DESTDIR)/usr/share/kfc
14+
cp -r palettes $(DESTDIR)/usr/share/kfc
1515

1616
uninstall:
17-
rm -f $(DESTDIR)$(BINDIR)/kc
18-
rm -rf $(DESTDIR)/usr/share/kc
17+
rm -f $(DESTDIR)$(BINDIR)/kfc
18+
rm -rf $(DESTDIR)/usr/share/kfc
1919

2020
clean:
21-
rm -f kc *.o
21+
rm -f kfc *.o
2222

2323
.PHONY: all install uninstall clean

README

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
kc
1+
kfc
22

3-
KISS colors, a terminal-emulator color palette setter written in C and designed
3+
kiss for colors, a terminal-emulator color palette setter written in C and designed
44
for KISS Linux.
55

66

@@ -14,7 +14,7 @@ Linux have been tested at this time:
1414

1515
- simple terminal, st [2]
1616

17-
Other than a terminal emulator and C compiler (e.g. gcc), KISS Colors has no
17+
Other than a terminal emulator and C compiler (e.g. gcc), the application has no
1818
other dependencies.
1919

2020
Note: I apologize for the "ugliness" of the code at this time. I hope to address
@@ -26,21 +26,21 @@ INSTALLATION
2626

2727
Building and installing from source:
2828

29-
$ git clone https://github.com/mcpcpc/kc.git
30-
$ cd kc/
29+
$ git clone https://github.com/mcpcpc/kfc.git
30+
$ cd kfc/
3131
$ make
3232
$ make install
3333

3434

3535
Installing on KISS Linux:
3636

37-
$ kiss b kc && kiss i kc
37+
$ kiss b kfc && kiss i kfc
3838

3939

4040
USAGE
4141
-----
4242

43-
kc [-s palette|-L|-r] [l|-v|-p]
43+
kfc [-s palette|-L|-r] [l|-v|-p]
4444
-s palette Select a palette
4545
-l List all palettes
4646
-p Print current palette

kc.c renamed to kfc.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
#include <sys/stat.h>
77
#include <time.h>
88
#include <unistd.h>
9-
#include "kc.h"
9+
#include "kfc.h"
1010

1111

1212
int
1313
find_palettes(void)
1414
{
15-
if ( access("/usr/share/kc/palettes", F_OK) == 0 )
15+
if ( access("/usr/share/kfc/palettes", F_OK) == 0 )
1616
{
17-
strcpy(p.SEQ, "/usr/share/kc/palettes");
17+
strcpy(p.SEQ, "/usr/share/kfc/palettes");
1818
return 0;
1919
}
2020

@@ -172,10 +172,10 @@ main(int argc, char **argv)
172172
fprintf(stderr, "XDG_CONFIG_HOME not defined\n");
173173
exit(2);
174174
}
175-
strcat(p.CONF, "/kc");
175+
strcat(p.CONF, "/kfc");
176176
if ( mkdir(p.CONF,0777) == 0 )
177177
{
178-
printf("Created 'kc' directory in XDG_CONFIG_HOME.");
178+
printf("Created 'kfc' directory in XDG_CONFIG_HOME.");
179179
}
180180
sprintf(p.CCUR, "%s/current", p.CONF);
181181
sprintf(p.CSEQ, "%s/sequence", p.CONF);
@@ -203,7 +203,7 @@ main(int argc, char **argv)
203203
p.MODE = "light";
204204
break;
205205
case 'v':
206-
printf("0.0.6\n");
206+
printf("0.0.7\n");
207207
break;
208208
case 'h':
209209
p.errf++;
@@ -227,7 +227,7 @@ main(int argc, char **argv)
227227
if (p.errf)
228228
{
229229
fprintf(stderr, "\
230-
usage: kc [-s palette|-r|-L] [l|-v|-p]\n \
230+
usage: kfc [-s palette|-r|-L] [l|-v|-p]\n \
231231
-s palette Select a palette\n \
232232
-l List all palettes\n \
233233
-p Print current palette\n \

kc.h renamed to kfc.h

File renamed without changes.

0 commit comments

Comments
 (0)