mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-11 13:50:48 -05:00
Remove : from filename, it makes scp stupid
This commit is contained in:
parent
ad77b9857a
commit
bb39372dd3
1 changed files with 1 additions and 1 deletions
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue