Add --default default
Added in order to behave the same way as the systemd service
This commit is contained in:
parent
3354ed9daa
commit
6d40d3cfba
|
@ -38,7 +38,7 @@ static int ar_launch()
|
||||||
pid_t pid = fork();
|
pid_t pid = fork();
|
||||||
if (pid == 0) {
|
if (pid == 0) {
|
||||||
static char *argv[] =
|
static char *argv[] =
|
||||||
{ "/usr/bin/autorandr", "--change", NULL };
|
{ "/usr/bin/autorandr", "--change", "--default", "default", NULL };
|
||||||
execve(argv[0], argv, environ);
|
execve(argv[0], argv, environ);
|
||||||
exit(127);
|
exit(127);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue