]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/commitdiff
Add --default default
authorRicky Liou <rliou92@gmail.com>
Sun, 3 Feb 2019 01:15:24 +0000 (17:15 -0800)
committerRicky Liou <rliou92@gmail.com>
Sun, 3 Feb 2019 01:15:24 +0000 (17:15 -0800)
Added in order to behave the same way as the systemd service

contrib/autorandr_launcher/autorandr_launcher.c

index 93b8891f6cc86220ab3d055a2a6f36e0c2893249..923ab98451f8bb01cefb3c3a8de76f535e1b11db 100644 (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 {