Add --default default

Added in order to behave the same way as the systemd service
This commit is contained in:
Ricky Liou 2019-02-02 17:15:24 -08:00
parent 3354ed9daa
commit 6d40d3cfba
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ static int ar_launch()
pid_t pid = fork();
if (pid == 0) {
static char *argv[] =
{ "/usr/bin/autorandr", "--change", NULL };
{ "/usr/bin/autorandr", "--change", "--default", "default", NULL };
execve(argv[0], argv, environ);
exit(127);
} else {