From bb39372dd331187bb0a2bb4a37118c4636ee0eb1 Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Thu, 10 Dec 2015 18:00:26 +0100 Subject: [PATCH] Remove : from filename, it makes scp stupid --- source/rofi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/rofi.c b/source/rofi.c index 35fce386..5296437e 100644 --- a/source/rofi.c +++ b/source/rofi.c @@ -587,7 +587,7 @@ static void menu_capture_screenshot ( void ) // Get current time. GDateTime *now = g_date_time_new_now_local (); // Format filename. - char *timestmp = g_date_time_format ( now, "rofi-%Y-%m-%d-%H:%M" ); + char *timestmp = g_date_time_format ( now, "rofi-%Y-%m-%d-%H%M" ); char *filename = g_strdup_printf ( "%s.png", timestmp ); // Build full path char *fpath = g_build_filename ( xdg_pict_dir, filename, NULL );