speedwm-personal/autostart.h

28 lines
812 B
C

/* Anything in here will automatically start before speedwm
* I use it to start my status bar and some other stuff, though.
*
* If you wish to run more commands, add a line below.
*
* Syntax: "shell, "-c", "<command>", NULL,"
*
* "shell" is automatically defined as your shell.
*
* If you need help, run speedwm-keybinds.
* Once you're done with your edits, run 'make clean install'.
*************************************************************/
static const char *autostart[] = {
/* Run the built in status bar */
shell, "-c", "pgrep speedwm_status || speedwm_status &", NULL,
/* Autostart script, if it exists */
shell, "-c", "$HOME/.config/speedwm/autostart.sh", NULL,
/* Autostart second script, if it exists */
shell, "-c", "speedwm-autostart", NULL,
NULL
};