diff options
-rw-r--r-- | i3-nagbar/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/i3-nagbar/main.c b/i3-nagbar/main.c index 2f4cb0e3..73df07c4 100644 --- a/i3-nagbar/main.c +++ b/i3-nagbar/main.c @@ -169,7 +169,7 @@ static void handle_button_release(xcb_connection_t *conn, xcb_button_release_eve warn("Could not fdopen() temporary script to store the nagbar command"); return; } - fprintf(script, "#!/bin/sh\nrm %s\n%s", script_path, button->action); + fprintf(script, "#!%s\nrm %s\n%s", _PATH_BSHELL, script_path, button->action); /* Also closes fd */ fclose(script); |