1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-04-29 03:54:06 +02:00

wmaker: allow the screenshot filename template to be set

This patch is adding a new option ScreenshotFilenameTemplate for users
to change the default strftime format "screenshot_%Y-%m-%d_at_%H:%M:%S".
For example, Teams is not allowing the ':' char in the filename of file
to be shared so I always have to rename the file.
This commit is contained in:
David Maciejak
2026-03-19 22:38:26 -04:00
committed by Carlos R. Mafra
parent 412b3eace2
commit be495bedbc
4 changed files with 38 additions and 1 deletions
+1
View File
@@ -505,6 +505,7 @@ extern struct WPreferences {
Cursor cursor[WCUR_LAST];
int switch_panel_icon_size; /* icon size in switch panel */
char *screenshot_filename_template; /* strftime format for screenshot filenames */
} wPreferences;