aboutsummaryrefslogtreecommitdiff
path: root/shotkey.c
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2020-06-20 15:28:14 +0530
committerAkshay Nair <phenax5@gmail.com>2020-06-20 15:28:14 +0530
commit46cd0b5b27298e8d70efd3f002a9ab1dfa32bc81 (patch)
tree59682de1afbd4a1713503c2b66f19a860802e271 /shotkey.c
parent5a80b79e1d0c41a4c566b2f8ff7ab409a3322ea1 (diff)
parentaa146c847d7e03881a99382100f1f61e473475c7 (diff)
downloadshotkey-46cd0b5b27298e8d70efd3f002a9ab1dfa32bc81.tar.gz
shotkey-46cd0b5b27298e8d70efd3f002a9ab1dfa32bc81.zip
Merge branch 'master' into personal
Diffstat (limited to '')
-rw-r--r--shotkey.c (renamed from hotkeythingy.c)6
1 files changed, 3 insertions, 3 deletions
diff --git a/hotkeythingy.c b/shotkey.c
index dcbcc08..d839ef4 100644
--- a/hotkeythingy.c
+++ b/shotkey.c
@@ -48,11 +48,11 @@ void unbind_key(Display *dpy, Window win, unsigned int mod, KeySym key) {
int error_handler(Display *disp, XErrorEvent *xe) {
switch(xe->error_code) {
case BadAccess:
- printf("hotkeythingy: [BadAccess] Cant grab key binding. Already grabbed\n");
+ printf("shotkey: [BadAccess] Cant grab key binding. Already grabbed\n");
return 0;
}
- printf("hotkeythingy: Something went wrong\n");
+ printf("shotkey: Something went wrong\n");
return 1;
}
@@ -60,7 +60,7 @@ void spawn(char** command) {
if (fork() == 0) {
setsid();
execve(command[0], command, environ);
- fprintf(stderr, "hotkeythingy: execve %s", command[0]);
+ fprintf(stderr, "shotkey: execve %s", command[0]);
perror(" failed");
exit(0);
}