i3 - improved tiling WM


Fixed the i3-nagbar commandline to call the script instead of another i3-nagbar.

Patch status: rejected

Patch by Sebastian Rachuj

To apply this patch, use:
curl http://cr.i3wm.org/patch/124/raw.patch | git am

b/i3-nagbar/main.c

14
@@ -165,7 +165,7 @@ static void handle_button_release(xcb_connection_t *conn, xcb_button_release_eve
15
     fclose(script);
16
 
17
     char *terminal_cmd;
18
-    sasprintf(&terminal_cmd, "i3-sensible-terminal -e %s", argv0);
19
+    sasprintf(&terminal_cmd, "i3-sensible-terminal -e %s", script_path);
20
     printf("argv0 = %s\n", argv0);
21
     printf("terminal_cmd = %s\n", terminal_cmd);
22