File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 3
3
#include <unistd.h>
4
4
#include <dirent.h>
5
5
#include <string.h>
6
- #include "kpal .h"
6
+ #include "kc .h"
7
7
8
8
int
9
9
find_palettes (void )
10
10
{
11
- if ( access ("/etc/kpal /palettes" , F_OK ) == 0 )
11
+ if ( access ("/etc/kc /palettes" , F_OK ) == 0 )
12
12
{
13
- strcpy (p .SEQ , "/etc/kpal /palettes" );
13
+ strcpy (p .SEQ , "/etc/kc /palettes" );
14
14
return 0 ;
15
15
}
16
16
@@ -124,7 +124,7 @@ main(int argc, char **argv)
124
124
fprintf (stderr , "XDG_CONFIG_HOME not defined\n" );
125
125
exit (2 );
126
126
}
127
- strcat (p .CONF , "/kpal " );
127
+ strcat (p .CONF , "/kc " );
128
128
129
129
if (find_palettes () == 1 )
130
130
{
@@ -172,7 +172,7 @@ main(int argc, char **argv)
172
172
if (p .errf )
173
173
{
174
174
fprintf (stderr , "\
175
- usage: cpal [-s palette|-r|-L] [l|-v|-p]\n \
175
+ usage: kc [-s palette|-r|-L] [l|-v|-p]\n \
176
176
-s palette Select a palette\n \
177
177
-l List all palettes\n \
178
178
-p Print current palette\n \
You can’t perform that action at this time.
0 commit comments