🚧 wip: chekkupointo, basic functionality completed
This commit is contained in:
@@ -28,8 +28,8 @@
|
||||
// action.previewDebounceTime number 300 Debounce time for preview action in milliseconds
|
||||
// action.printSelected boolean true Whether to print the selected wallpaper path to stdout on confirm
|
||||
// action.printPreview boolean false Whether to print the previewed wallpaper path to stdout on preview
|
||||
// action.onSelected string "" Command to execute on confirmation ({{ path }} -> full path)
|
||||
// action.onPreview string "" Command to execute on preview ({{ path }} -> full path)
|
||||
// action.onSelected string "" Command to execute on confirmation
|
||||
// action.onPreview string "" Command to execute on preview
|
||||
// action.saveState array [] Useful for restore command
|
||||
// action.saveState[].key string "" Key of value to save, used as {{ key }} in onRestore command
|
||||
// action.saveState[].default string "" Value to save, used when "cmd" is not set or command execution fails or output is empty
|
||||
@@ -37,6 +37,7 @@
|
||||
// action.saveState[].timeout number 3000 Timeout for executing "cmd" in milliseconds. 0 or negative means no timeout
|
||||
// action.onRestore string "" Command to execute on restore ({{ key }} -> value defined or obtained in saveState)
|
||||
// action.quitOnSelected boolean false Whether to quit the application after confirming a wallpaper
|
||||
// action.restoreOnCancel boolean true Whether to run the restore command after cancel without confirming a wallpaper
|
||||
//
|
||||
// style.image_width number 320 Width of each image
|
||||
// style.image_height number 200 Height of each image
|
||||
@@ -103,6 +104,7 @@ struct ActionConfigItems {
|
||||
bool printSelected = true;
|
||||
bool printPreview = false;
|
||||
bool quitOnSelected = false;
|
||||
bool restoreOnCancel = true;
|
||||
};
|
||||
|
||||
struct StyleConfigItems {
|
||||
|
||||
Reference in New Issue
Block a user