speedwm-personal/autostart.h
2022-11-30 17:40:23 +01:00

25 lines
815 B
C

/* Anything in here will automatically start before speedwm
*
* If you wish to run more commands, add a line below.
*
* Syntax: "shell, "-c", "<command>", NULL,"
*
* "shell" is automatically defined as your shell.
*
* Once you're done with your edits, run 'make clean install'.
*************************************************************/
static const char *autostart[] = {
/* Run the built in status bar */
shell, "-c", "pkill status; status &", NULL,
/* Run the wallpaper tool if it exists */
shell, "-c", "command -v speedwm-swal > /dev/null && $HOME/.config/speedwm/swal/swal_wm && command -v libspeedwm > /dev/null && libspeedwm --perform core_wm_reload", NULL,
/* Autostart script, if it exists */
shell, "-c", "$HOME/.config/speedwm/autostart.sh", NULL,
NULL
};