prevent double autostart on renew
ci/woodpecker/tag/woodpecker Pipeline was successful Details

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
1 changed files with 1 additions and 1 deletions

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
};