Skip to content

Commit ffd60c6

Browse files
committed
📝 Update docs on hyprland window rules
1 parent ed6855d commit ffd60c6

1 file changed

Lines changed: 11 additions & 10 deletions

File tree

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

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ Cosmic | ❌ | Contributions are welcome! Read the [corresponding feature reques
3838
Hyprland | ✅ | See [below](#-hyprland) for the required configs.
3939
Cinnamon X11 | ✅ |
4040
Cinnamon Wayland | ❌ | Contributions are welcome! Read the [corresponding feature request](https://github.com/kando-menu/kando/issues/833).
41+
Sway | ❌ | Contributions are welcome! Read the [corresponding feature request](https://github.com/kando-menu/kando/issues/452).
4142
XFCE | ✅ |
4243
MATE | ✅ |
4344
Budgie | ✅ |
@@ -194,7 +195,7 @@ Else, the menu will not float above other windows.
194195
// ~/.config/hypr/hyprland.conf
195196
windowrule {
196197
name = kando
197-
match:class = ^(kando)$
198+
match:title = Kando Menu
198199
no_blur = on
199200
opaque = on
200201
move = 0 0
@@ -210,13 +211,13 @@ Else, the menu will not float above other windows.
210211
<TabItem label="Old Syntax">
211212
```
212213
// ~/.config/hypr/hyprland.conf
213-
windowrule = noblur, class:kando
214-
windowrule = opaque, class:kando
215-
windowrule = size 100% 100%, class:kando
216-
windowrule = noborder, class:kando
217-
windowrule = noanim, class:kando
218-
windowrule = float, class:kando
219-
windowrule = pin, class:kando
214+
windowrule = noblur, class:menu.kando.Kando
215+
windowrule = opaque, class:menu.kando.Kando
216+
windowrule = size 100% 100%, class:menu.kando.Kando
217+
windowrule = noborder, class:menu.kando.Kando
218+
windowrule = noanim, class:menu.kando.Kando
219+
windowrule = float, class:menu.kando.Kando
220+
windowrule = pin, class:menu.kando.Kando
220221
```
221222
</TabItem>
222223
</Tabs>
@@ -239,13 +240,13 @@ The shortcut ID will look different depending on how you installed Kando.
239240
Here are some examples:
240241

241242
<Tabs>
242-
<TabItem label="Flathub">
243+
<TabItem label="Kando 2.3.0+">
243244
```
244245
// ~/.config/hypr/hyprland.conf
245246
bind = CTRL, Space, global, menu.kando.Kando:example-menu
246247
```
247248
</TabItem>
248-
<TabItem label="Most other installations">
249+
<TabItem label="Older non-Flatpak installations">
249250
```
250251
// ~/.config/hypr/hyprland.conf
251252
bind = CTRL, Space, global, :example-menu

0 commit comments

Comments
 (0)