diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-06-28 14:39:04 +0400 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-06-28 14:39:04 +0400 |
| commit | 697fcbac123fbf83e94525fe63d1c4a828a199d0 (patch) | |
| tree | b1bd9f527b59b4c263e3ba644e913fc4b7a4f121 | |
| parent | a8e281e95fd65ef4fb179a3ad871020e0bec763f (diff) | |
| download | niri-697fcbac123fbf83e94525fe63d1c4a828a199d0.tar.gz niri-697fcbac123fbf83e94525fe63d1c4a828a199d0.tar.bz2 niri-697fcbac123fbf83e94525fe63d1c4a828a199d0.zip | |
wiki: Add rounded corners to the FAQ
| -rw-r--r-- | wiki/FAQ.md | 13 |
1 files changed, 13 insertions, 0 deletions
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). |
