prevent double autostart on renew
All checks were successful
ci/woodpecker/tag/woodpecker Pipeline was successful

This commit is contained in:
Luca Bilke 2024-02-07 17:16:23 +01:00
parent 6c4acebef8
commit adf1fa07e3
No known key found for this signature in database
GPG key ID: B753481DA0B6FA47

View file

@ -136,7 +136,7 @@ static const char *layoutmenu_cmd = "xmenulayout";
// static const char *layoutdmenu = "$HOME/.local/libexec/dwm/dmenulayout"; // TODO: Patch layoutmenu to accept shell commands
static const char *const autostart[] = {
"sh", "-c", "exec $HOME/.local/libexec/dwm/autorun", NULL,
"sh", "-c", "pidof -x autorun || exec $HOME/.local/libexec/dwm/autorun", NULL,
NULL
};