diff options
| -rw-r--r-- | wiki/Configuration:-Key-Bindings.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/wiki/Configuration:-Key-Bindings.md b/wiki/Configuration:-Key-Bindings.md index 27ad7692..9f8c8ffa 100644 --- a/wiki/Configuration:-Key-Bindings.md +++ b/wiki/Configuration:-Key-Bindings.md @@ -303,3 +303,17 @@ binds { Mod+O { toggle-window-rule-opacity; } } ``` + +#### `screenshot-screen`, `screenshot-window` + +Take a screenshot of the focused screen or window respectively. +The screenshot is both stored to the clipboard and saved to disk, according to the [`screenshot-path` option](./Configuration:-Miscellaneous.md). + +<sup>Since: next release</sup> You can disable saving to disk for a specific bind with the `write-to-disk=false` property: + +```kdl +binds { + Ctrl+Print { screenshot-screen write-to-disk=false; } + Alt+Print { screenshot-window write-to-disk=false; } +} +``` |
