forked from RepoMirrors/dwl
Conditionally notify parent via fd 3
This commit is contained in:
parent
64eecab34d
commit
d24d4ced54
10
config.def.h
10
config.def.h
@ -136,9 +136,15 @@ static const char *passmancmd[] = SHWRAP("~/Sources/Scripts/bemenu/passman/scrip
|
|||||||
|
|
||||||
/* Autostart */
|
/* Autostart */
|
||||||
// Note: This is intended to store the env under /run/user/$UID/session-0/ for the user tree to use in starting other services that are independently supervised
|
// Note: This is intended to store the env under /run/user/$UID/session-0/ for the user tree to use in starting other services that are independently supervised
|
||||||
|
// This also notifies the parent via fd 3 when it's ready
|
||||||
static const char *const autostart[] = {
|
static const char *const autostart[] = {
|
||||||
"importas", "SESSION_ENV", "SESSION_ENV",
|
"execlineb", "-c",
|
||||||
"s6-dumpenv", "${SESSION_ENV}/", NULL,
|
"importas SESSION_ENV SESSION_ENV "
|
||||||
|
"if { "
|
||||||
|
"s6-dumpenv ${SESSION_ENV}/ "
|
||||||
|
"} "
|
||||||
|
"fdmove -c 1 3 "
|
||||||
|
"echo ", NULL,
|
||||||
NULL /* terminate */
|
NULL /* terminate */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user