Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

autostart

NFVblog edited this page Nov 30, 2023 · 20 revisions

Description

Allow dwl to execute commands from autostart array in your config.h file. And when you exit dwl all processes from autostart array will be killed.

Note: Commands from array are executed using execvp(). So if you need to execute shell command you need to prefix it with "sh", "-c" (change sh to any shell you like).

Example

static const char *const autostart[] = {
	"foot", "--server", NULL,
	"fnott", NULL,
	NULL
};

Download

Authors

Clone this wiki locally