wiki: Add rounded corners to the FAQ
Browse files at this commit697fcbac123fbf83e94525fe63d1c4a828a199d0Parent: a8e281e1 changed file +13 -0
- wiki/FAQ.md +13 -0
wiki/FAQ.mdmodified+13 -0
| @@ -23,3 +23,16 @@ Set `"layer": "top"` in your Waybar config. | |||
| 23 | 23 | ||
| 24 | Niri currently draws pop-up menus on the same layer as their parent surface. | 24 | Niri currently draws pop-up menus on the same layer as their parent surface. |
| 25 | By default, Waybar is on the `bottom` layer, which is behind windows, so Waybar pop-up menus also show behind windows. | 25 | By default, Waybar is on the `bottom` layer, which is behind windows, so Waybar pop-up menus also show behind windows. |
| 26 | + | ||
| 27 | +### How to enable rounded corners for all windows? | ||
| 28 | + | ||
| 29 | +Put this window rule in your config: | ||
| 30 | + | ||
| 31 | +``` | ||
| 32 | +window-rule { | ||
| 33 | + geometry-corner-radius 12 | ||
| 34 | + clip-to-geometry true | ||
| 35 | +} | ||
| 36 | +``` | ||
| 37 | + | ||
| 38 | +For more information, check [this wiki section](https://github.com/YaLTeR/niri/wiki/Configuration:-Window-Rules#geometry-corner-radius). | ||