default-config: Add rounded corner window rule example
Browse files at this commit39b46b3326f7b57456aa69e6241ed722f1a89b24Parent: 2aebd6b1 changed file +7 -0
resources/default-config.kdlmodified+7 -0
| @@ -250,6 +250,13 @@ window-rule { | |||
| 250 | // block-out-from "screencast" | 250 | // block-out-from "screencast" |
| 251 | } | 251 | } |
| 252 | 252 | ||
| 253 | +// Example: enable rounded corners for all windows. | ||
| 254 | +// (This example rule is commented out with a "/-" in front.) | ||
| 255 | +/-window-rule { | ||
| 256 | + geometry-corner-radius 12 | ||
| 257 | + clip-to-geometry true | ||
| 258 | +} | ||
| 259 | + | ||
| 253 | binds { | 260 | binds { |
| 254 | // Keys consist of modifiers separated by + signs, followed by an XKB key name | 261 | // Keys consist of modifiers separated by + signs, followed by an XKB key name |
| 255 | // in the end. To find an XKB name for a particular key, you may use a program | 262 | // in the end. To find an XKB name for a particular key, you may use a program |