wiki: Mention screenshow-screen/window write-to-disk=false
Browse files at this commitcd6522bcc64f657527d21305bdcdc9b212fc1ec1Parent: 88852331 changed file +14 -0
wiki/Configuration:-Key-Bindings.mdmodified+14 -0
| @@ -303,3 +303,17 @@ binds { | |||
| 303 | Mod+O { toggle-window-rule-opacity; } | 303 | Mod+O { toggle-window-rule-opacity; } |
| 304 | } | 304 | } |
| 305 | ``` | 305 | ``` |
| 306 | + | ||
| 307 | +#### `screenshot-screen`, `screenshot-window` | ||
| 308 | + | ||
| 309 | +Take a screenshot of the focused screen or window respectively. | ||
| 310 | +The screenshot is both stored to the clipboard and saved to disk, according to the [`screenshot-path` option](./Configuration:-Miscellaneous.md). | ||
| 311 | + | ||
| 312 | +<sup>Since: next release</sup> You can disable saving to disk for a specific bind with the `write-to-disk=false` property: | ||
| 313 | + | ||
| 314 | +```kdl | ||
| 315 | +binds { | ||
| 316 | + Ctrl+Print { screenshot-screen write-to-disk=false; } | ||
| 317 | + Alt+Print { screenshot-window write-to-disk=false; } | ||
| 318 | +} | ||
| 319 | +``` | ||