.BI reload_settings
Reload the default settings.
.TP
-.BI reload
-Reload the autostart file and the default settings.
-.TP
-.BI quit
+.BI quit " [EXIT_STATUS]"
Quit.
.SH SETTINGS
Colors are either
pointer_state_t *frozen_pointer;
xcb_point_t pointer_position;
xcb_window_t last_entered;
+int exit_status;
bool visible;
bool running;
return;
} else if (strcmp(cmd, "adopt_orphans") == 0) {
adopt_orphans();
- } else if (strcmp(cmd, "reload") == 0) {
- load_settings();
- run_autostart();
} else if (strcmp(cmd, "reload_autostart") == 0) {
run_autostart();
} else if (strcmp(cmd, "reload_settings") == 0) {
load_settings();
} else if (strcmp(cmd, "quit") == 0) {
+ char *arg = strtok(NULL, TOK_SEP);
+ if (arg != NULL)
+ sscanf(arg, "%i", &exit_status);
quit();
return;
} else {