mirror of
https://github.com/gryf/wmaker.git
synced 2026-08-26 05:31:55 +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:
committed by
Carlos R. Mafra
parent
412b3eace2
commit
be495bedbc
@@ -191,6 +191,9 @@
|
||||
#define DEF_APPMENU_X 10
|
||||
#define DEF_APPMENU_Y 10
|
||||
|
||||
/* default strftime format for screenshot filenames */
|
||||
#define DEF_SCREENSHOT_FILENAME_TEMPLATE "\"screenshot_%Y-%m-%d_at_%H:%M:%S\""
|
||||
|
||||
/* calculate window edge resistance from edge resistance */
|
||||
#define WIN_RESISTANCE(x) (((x)*20)/30)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user