From: Johan Malm Date: Sat, 9 Aug 2025 09:54:06 +0000 (+0100) Subject: action: fix labnag button order X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=7c3a587015c98deb5ec1d750b4467997d68d5d27;p=proto%2Flabwc.git action: fix labnag button order --- diff --git a/src/action.c b/src/action.c index 657810bf..eb027087 100644 --- a/src/action.c +++ b/src/action.c @@ -817,9 +817,9 @@ handle_view_destroy(struct wl_listener *listener, void *data) static void action_prompt_create(struct view *view, struct server *server, struct action *action) { - char *command = strdup_printf("labnag -m \"%s\" -Z \"%s\" : -Z \"%s\" :", + char *command = strdup_printf("labnag -m \"%s\" -Z \"%s\" -Z \"%s\"", action_get_str(action, "message.prompt", "Choose wisely"), - _("Yes"), _("No")); + _("No"), _("Yes")); int pipe_fd; pid_t prompt_pid = spawn_piped(command, &pipe_fd);