Skip to content

Commit a55cc02

Browse files
committed
niri: add support
1 parent dabaaae commit a55cc02

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

src/content/docs/installation-on-linux.mdx

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Openbox | ✅ | Requires a compositor for the transparency to work.
4747
i3 | ✅ | Requires a compositor for the transparency to work.
4848
dusk | ✅ | Requires a compositor for the transparency to work. See [below](#dusk) for the required config.
4949
Qtile | ➖ | It works with some flaws. Contributions are welcome! Read the [corresponding bug report](https://github.com/kando-menu/kando/issues/621).
50-
Niri | | Contributions are welcome! Read the [corresponding feature request](https://github.com/kando-menu/kando/issues/733).
50+
Niri | | See [below](#-niri) for the required configs.
5151

5252
<CustomAside type="thanks" title="Have you tested another environment?">
5353
If you have tested Kando on another desktop environment, please add it to the list above by editing this page on GitHub!
@@ -178,8 +178,7 @@ It is perfectly fine to use the same shortcut ID for multiple menus.
178178
Use this in combination with the app-dependent menu feature to open different menus depending on the currently focused application!
179179

180180
### <Icon name="simple-icons:hyprland" class="inline-icon" /> Hyprland
181-
182-
![kde image](../../assets/img/hyprland-shortcuts.png)
181+
![hyprland image](../../assets/img/hyprland-shortcuts.png)
183182

184183
You will need some window rules for Kando.
185184
Else, the menu will not float above other windows.
@@ -219,6 +218,21 @@ bind = CTRL, Space, global, menu.kando.Kando:example-menu
219218
```
220219
3. Using the solution for 2nd step might not work in situations where the target window is small as you will travel out of target area while activating items from sub-menu. For that you can use `hyprctl dispatcher focusurgentorlast` or `hyprctl dispatcher focuscurrentorlast` instead. See https://wiki.hyprland.org/Configuring/Dispatchers/#list-of-dispatchers
221220

221+
### <Icon name="simple-icons:wayland" class="inline-icon" /> Niri
222+
223+
You will need some window rules for Kando.
224+
Else, the menu will not float above other windows.
225+
226+
```
227+
// ~/.config/niri/config.kdl
228+
window-rule {
229+
match app-id="kando"
230+
open-floating true
231+
border { off; }
232+
shadow { off; }
233+
}
234+
```
235+
222236
### Dusk
223237

224238
On Dusk, you will have to install and use a compositor like `picom` or `compton` to make the transparency work.

0 commit comments

Comments
 (0)