some linting
This commit is contained in:
parent
e15699e4ed
commit
33526a916f
3
hkd.c
3
hkd.c
@ -31,6 +31,7 @@
|
||||
#define red(str) (ANSI_COLOR_RED str ANSI_COLOR_RESET)
|
||||
#define test_bit(yalv, abs_b) ((((char *)abs_b)[yalv/8] & (1<<yalv%8)) > 0)
|
||||
#define die(str) {perror(red(str)); exit(errno);}
|
||||
#define array_size(val) (val ? sizeof(val)/sizeof(a[0]) : 0)
|
||||
|
||||
#define EVENT_SIZE (sizeof(struct inotify_event))
|
||||
#define EVENT_BUF_LEN (1024*(EVENT_SIZE+16))
|
||||
@ -283,7 +284,7 @@ int main (void)
|
||||
putchar('\n');
|
||||
|
||||
if (key_buffer_compare(&pb, &comb1))
|
||||
exec_command((char *)"/home/ale/hello");
|
||||
exec_command((char *)"sh -e $HOME/hello");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user