aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2024-10-01 13:28:16 +0300
committerIvan Molodetskikh <yalterz@gmail.com>2024-10-01 13:28:16 +0300
commit39b46b3326f7b57456aa69e6241ed722f1a89b24 (patch)
tree10ac89fdb5cb471bc8edc298ef77910c733b2944
parent2aebd6bdbbed8e22011a8cd2a283148a3140e854 (diff)
downloadniri-39b46b3326f7b57456aa69e6241ed722f1a89b24.tar.gz
niri-39b46b3326f7b57456aa69e6241ed722f1a89b24.tar.bz2
niri-39b46b3326f7b57456aa69e6241ed722f1a89b24.zip
default-config: Add rounded corner window rule example
-rw-r--r--resources/default-config.kdl7
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