diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2025-02-20 19:37:22 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2025-02-20 22:26:40 +0300 |
| commit | cd6522bcc64f657527d21305bdcdc9b212fc1ec1 (patch) | |
| tree | 076204fe11927e5ae7b2d784e09fe41fce2ff6ec /wiki/Configuration:-Key-Bindings.md | |
| parent | 8885233c7e036a1e279c09e4fd96c1a1669156c3 (diff) | |
| download | niri-cd6522bcc64f657527d21305bdcdc9b212fc1ec1.tar.gz niri-cd6522bcc64f657527d21305bdcdc9b212fc1ec1.tar.bz2 niri-cd6522bcc64f657527d21305bdcdc9b212fc1ec1.zip | |
wiki: Mention screenshow-screen/window write-to-disk=false
Diffstat (limited to 'wiki/Configuration:-Key-Bindings.md')
| -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; } +} +``` |
