From 697fcbac123fbf83e94525fe63d1c4a828a199d0 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Fri, 28 Jun 2024 14:39:04 +0400 Subject: wiki: Add rounded corners to the FAQ --- wiki/FAQ.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'wiki/FAQ.md') diff --git a/wiki/FAQ.md b/wiki/FAQ.md index 8b659dd0..4fe5a48b 100644 --- a/wiki/FAQ.md +++ b/wiki/FAQ.md @@ -23,3 +23,16 @@ Set `"layer": "top"` in your Waybar config. Niri currently draws pop-up menus on the same layer as their parent surface. By default, Waybar is on the `bottom` layer, which is behind windows, so Waybar pop-up menus also show behind windows. + +### How to enable rounded corners for all windows? + +Put this window rule in your config: + +``` +window-rule { + geometry-corner-radius 12 + clip-to-geometry true +} +``` + +For more information, check [this wiki section](https://github.com/YaLTeR/niri/wiki/Configuration:-Window-Rules#geometry-corner-radius). -- cgit