forked from RepoMirrors/dwl
Dump env instead of starting daemons via fork
This commit is contained in:
parent
c6dd00ff9a
commit
338b1fd62c
11
config.def.h
11
config.def.h
@ -135,15 +135,10 @@ static const char *audiomixercmd[] = TERMWRAP("pulsemixer");
|
||||
static const char *passmancmd[] = SHWRAP("~/Sources/Scripts/bemenu/passman/script.zsh");
|
||||
|
||||
/* Autostart */
|
||||
// NOTE: While this is a ugly hack, unfortunately it is not yet possible to pass the desired IPC socket path + WAYLAND_DISPLAY as a parameter, but it would be highly appreciated
|
||||
// Once associating/grouping services by a well-known path is easily possible without passing env via alternative ways, this should go away
|
||||
// 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
|
||||
static const char *const autostart[] = {
|
||||
"waybar", NULL,
|
||||
"kanshi", NULL,
|
||||
"swayidle", "-w",
|
||||
"timeout", "300", LOCKER,
|
||||
"timeout", "600", "swaymsg \"output * power off\"",
|
||||
"resume", "swaymsg \"output * power on\"", NULL,
|
||||
"importas", "SESSION_ENV", "SESSION_ENV",
|
||||
"s6-dumpenv", "${SESSION_ENV}/", NULL,
|
||||
NULL /* terminate */
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user