Use I3SOCK-environment-variable
This commit is contained in:
committed by
Michael Stapelberg
parent
cd2ee61ee8
commit
4caf85aa0b
@ -99,6 +99,8 @@ int main(int argc, char *argv[]) {
|
||||
if (!isatty(fileno(stdout)))
|
||||
setbuf(stdout, NULL);
|
||||
|
||||
config.ipc_socket_path = getenv("I3SOCK");
|
||||
|
||||
start_argv = argv;
|
||||
|
||||
while ((opt = getopt_long(argc, argv, "c:CvaL:hld:V", long_options, &option_index)) != -1) {
|
||||
|
Reference in New Issue
Block a user