docs(autosave): add the document for manpage and README

This commit is contained in:
Tuan Bui 2024-04-10 12:58:49 +07:00
parent 32e72cef03
commit b2898aeae8
No known key found for this signature in database
GPG Key ID: D40B3B12522F7B68
2 changed files with 3 additions and 1 deletions

View File

@ -63,7 +63,7 @@ auto_save=false
- `paint_mode` is the mode activated at application start (must be one of: brush|text|rectangle|ellipse|arrow|blur, matching is case-insensitive)
- `early_exit` is used to make the application exit after saving the picture or copying it to the clipboard
- `fill_shape` is used to toggle shape filling (for the rectangle and ellipsis tools) on or off upon startup
- `auto_save` is used to toggle auto saving on exit the application
- `auto_save` is used to toggle auto saving of final buffer to `save_dir` on exit the application
## Keyboard Shortcuts

View File

@ -66,6 +66,7 @@ The following lines can be used as swappy's default:
paint_mode=brush
early_exit=false
fill_shape=false
auto_save=false
```
- *save_dir* is where swappshots will be saved, can contain env variables, when it does not exist, swappy attempts to create it first, but does not abort if directory creation fails
@ -77,6 +78,7 @@ The following lines can be used as swappy's default:
- *paint_mode* is the mode activated at application start (must be one of: brush|text|rectangle|ellipse|arrow|blur, matching is case-insensitive)
- *early_exit* is used to make the application exit after saving the picture or copying it to the clipboard
- *fill_shape* is used to toggle shape filling (for the rectangle and ellipsis tools) on or off upon startup
- *auto_save* is used to toggle auto saving of final buffer to *save_dir* on exit the application
# KEY BINDINGS