From ab974be7ef96628b166ed5dd2fcc183dfaceaa9b Mon Sep 17 00:00:00 2001 From: Scoopta Date: Tue, 25 Feb 2020 18:59:16 -0800 Subject: [PATCH] Using drun-print_command=true with a desktop file action will now print a warning to stderr while printing the main action's commandline --- modes/drun.c | 1 + 1 file changed, 1 insertion(+) diff --git a/modes/drun.c b/modes/drun.c index 0c54319..9853713 100644 --- a/modes/drun.c +++ b/modes/drun.c @@ -348,6 +348,7 @@ void wofi_drun_exec(const gchar* cmd) { char* action = space + 1; if(print_command) { printf("%s\n", g_app_info_get_commandline(G_APP_INFO(info))); + fprintf(stderr, "Printing the command line for an action is not supported\n"); } else { g_desktop_app_info_launch_action(info, action, NULL); utils_sleep_millis(500);