aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-01-24 00:42:33 +0100
committerdec05eba <dec05eba@protonmail.com>2025-01-24 00:42:33 +0100
commitf036fcbc0ff56dbab185d42c40f748e9c097bf22 (patch)
tree69eef4cacfae906c7866a3180d361b318408d83f /tools
parent5b84d7421f44c8bc00999071f2b3d46d238a9946 (diff)
Add 'restart replay on save' option
Diffstat (limited to 'tools')
-rw-r--r--tools/gsr-global-hotkeys/keyboard_event.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/gsr-global-hotkeys/keyboard_event.c b/tools/gsr-global-hotkeys/keyboard_event.c
index 261dc57..b8d94fd 100644
--- a/tools/gsr-global-hotkeys/keyboard_event.c
+++ b/tools/gsr-global-hotkeys/keyboard_event.c
@@ -638,13 +638,13 @@ static void keyboard_event_parse_stdin_command(keyboard_event *self, const char
.modifiers = modifiers
};
++self->num_global_hotkeys;
- fprintf(stderr, "Info: bound hotkey: %s\n", action);
+ fprintf(stderr, "Info: binded hotkey: %s\n", action);
} else if(strncmp(command, "unbind_all", 10) == 0) {
for(int i = 0; i < self->num_global_hotkeys; ++i) {
free(self->global_hotkeys[i].action);
}
self->num_global_hotkeys = 0;
- fprintf(stderr, "Info: unbound all hotkeys\n");
+ fprintf(stderr, "Info: unbinded all hotkeys\n");
} else {
fprintf(stderr, "Warning: got invalid command: \"%s\", expected command to start with either \"bind\" or \"unbind_all\"\n", command);
}