speedwm-personal/autostart.h

26 lines
836 B
C
Raw Normal View History

/* 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", status, NULL,
/* Run the wallpaper script if it exists */
shell, "-c", "[ -e $HOME/.config/speedwm/swal/swal_wm ] && $HOME/.config/speedwm/swal/swal_wm", NULL,
2022-10-01 19:11:07 +02:00
/* Autostart script, if it exists */
shell, "-c", "$HOME/.config/speedwm/autostart.sh", NULL,
NULL
};