i3lock-color

The world's most popular non-default computer lockscreen.
Index Commits Files Refs README LICENSE
commit 74e6dfe497d1f8729759d0f264039978c0df3145
parent bbd2196326bbcb4cb96e8a8e3d68c25e414510d5
Author: Thomas Osterland <t.osterland@web.de>
Date:   Thu, 22 Mar 2018 07:55:22 +0100

moved slideshow flags into misc (1000 -> 903)

Diffstat:
Mi3lock.c | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/i3lock.c b/i3lock.c
@@ -1220,7 +1220,7 @@ int main(int argc, char *argv[]) {
         {"composite", no_argument, NULL, 902},
 
         /* slideshow options */
-        {"slideshow-interval", required_argument, NULL, 1000},
+        {"slideshow-interval", required_argument, NULL, 903},
 
         {NULL, no_argument, NULL, 0}};
 
@@ -1672,16 +1672,16 @@ int main(int argc, char *argv[]) {
             case 902:
                 composite = true;
                 break;
-            case 999:
-                debug_mode = true;
-                break;
-            case 1000:
+            case 903:
                 slideshow_interval = atoi(optarg);
 
                 if (slideshow_interval < 0) {
                     slideshow_interval = 10;
                 }
                 break;
+            case 999:
+                debug_mode = true;
+                break;
             default:
                 errx(EXIT_FAILURE, "Syntax: i3lock [-v] [-n] [-b] [-d] [-c color] [-u] [-p win|default]"
                                    " [-i image.png] [-t] [-e] [-f]\n"