From 39b46b3326f7b57456aa69e6241ed722f1a89b24 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Tue, 1 Oct 2024 13:28:16 +0300 Subject: default-config: Add rounded corner window rule example --- resources/default-config.kdl | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- cgit