aboutsummaryrefslogtreecommitdiff
path: root/resources/default-config.kdl
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2024-03-24 11:11:15 +0400
committerIvan Molodetskikh <yalterz@gmail.com>2024-03-24 11:25:48 +0400
commit5f23d344d5d20d238eea65cd9e7189a2baf499c8 (patch)
tree19a938ba207eccd17e38be1000f062a4e4935350 /resources/default-config.kdl
parente43e10f44ed085f3b489318e5f84ad0948eaefb2 (diff)
downloadniri-5f23d344d5d20d238eea65cd9e7189a2baf499c8.tar.gz
niri-5f23d344d5d20d238eea65cd9e7189a2baf499c8.tar.bz2
niri-5f23d344d5d20d238eea65cd9e7189a2baf499c8.zip
Make screenshot UI render target-aware
Diffstat (limited to 'resources/default-config.kdl')
-rw-r--r--resources/default-config.kdl15
1 files changed, 9 insertions, 6 deletions
diff --git a/resources/default-config.kdl b/resources/default-config.kdl
index 0bb31697..728baa53 100644
--- a/resources/default-config.kdl
+++ b/resources/default-config.kdl
@@ -402,14 +402,17 @@ animations {
// To preview and set up this rule, check the preview-render option
// in the debug section of the config.
//
- // WARNING: the window is NOT blocked out from the screenshot UI.
- // If you open the screenshot UI while screencasting, blocked out windows
- // WILL BE VISIBLE on the screencast.
+ // WARNING: the window is NOT blocked out from third-party screenshot tools.
+ // If you open some screenshot tool with preview while screencasting,
+ // blocked out windows WILL BE VISIBLE on the screencast.
+ //
+ // The built-in screenshot UI is not affected though, you can use it safely,
+ // and windows will remain blocked out even when screencasting it.
block-out-from "screencast"
// You can also block out the window out of all screen captures, including
- // the screenshot UI. This way you avoid accidentally showing the window
- // on a screencast when opening the screenshot UI.
+ // third-party screenshot tools. This way you avoid accidentally showing
+ // the window on a screencast when opening a third-party screenshot preview.
block-out-from "screen-capture"
// You can amend the window's minimum and maximum size in logical pixels.
@@ -459,7 +462,7 @@ window-rule {
match app-id=r#"^org\.keepassxc\.KeePassXC$"#
match app-id=r#"^org\.gnome\.World\.Secrets$"#
- // Warning: will be visible when opening the screenshot UI.
+ // Warning: will be visible on third-party screenshot tools.
block-out-from "screencast"
// Use this instead to block out from all screen captures.