diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-10-01 13:28:16 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-10-01 13:28:16 +0300 |
| commit | 39b46b3326f7b57456aa69e6241ed722f1a89b24 (patch) | |
| tree | 10ac89fdb5cb471bc8edc298ef77910c733b2944 | |
| parent | 2aebd6bdbbed8e22011a8cd2a283148a3140e854 (diff) | |
| download | niri-39b46b3326f7b57456aa69e6241ed722f1a89b24.tar.gz niri-39b46b3326f7b57456aa69e6241ed722f1a89b24.tar.bz2 niri-39b46b3326f7b57456aa69e6241ed722f1a89b24.zip | |
default-config: Add rounded corner window rule example
| -rw-r--r-- | resources/default-config.kdl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/resources/default-config.kdl b/resources/default-config.kdl index 9f585a39..d0d89f07 100644 --- a/resources/default-config.kdl +++ b/resources/default-config.kdl @@ -250,6 +250,13 @@ window-rule { // block-out-from "screencast" } +// Example: enable rounded corners for all windows. +// (This example rule is commented out with a "/-" in front.) +/-window-rule { + geometry-corner-radius 12 + clip-to-geometry true +} + binds { // Keys consist of modifiers separated by + signs, followed by an XKB key name // in the end. To find an XKB name for a particular key, you may use a program |
