You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/installation-on-linux.mdx
+33-3Lines changed: 33 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -190,7 +190,28 @@ You will need some window rules for Kando.
190
190
Else, the menu will not float above other windows.
191
191
192
192
<Tabs>
193
-
<TabItemlabel="Hyprland 0.53+">
193
+
<TabItemlabel="Hyprland 0.55+">
194
+
```
195
+
// ~/.config/hypr/hyprland.lua
196
+
hl.windowrule({
197
+
name = "kando",
198
+
match = {
199
+
class = "menu.kando.Kando",
200
+
title = "Kando Menu"
201
+
},
202
+
no_blur = true,
203
+
opaque = true,
204
+
move = {0, 0}
205
+
rounding = 0
206
+
size = { "100%", "100%" },
207
+
border_size = 0,
208
+
no_anim = true,
209
+
float = true,
210
+
pin = true,
211
+
})
212
+
```
213
+
</TabItem>
214
+
<TabItemlabel="Hyprland 0.53 to 0.55">
194
215
```
195
216
// ~/.config/hypr/hyprland.conf
196
217
windowrule {
@@ -226,14 +247,14 @@ Else, the menu will not float above other windows.
226
247
#### Shortcuts
227
248
228
249
Also, Kando cannot directly bind global shortcuts on Hyprland.
229
-
Instead, you specify a shortcut ID for each menu in Kando's menu editor and bind a key combination in `hyprland.conf`.
250
+
Instead, you specify a shortcut ID for each menu in Kando's menu editor and bind a key combination in `hyprland.conf` or `hyprland.lua`.
230
251
For this, do the following:
231
252
232
253
<Steps>
233
254
234
255
1. Run Kando and set a shortcut ID for your menu in the menu editor.
235
256
2. Open a terminal and run `hyprctl globalshortcuts` to list all currently registered global shortcuts.
236
-
3. Find the line that corresponds to your shortcut ID and add a line like `bind = CTRL, Space, global, <shortcut ID>` to your `hyprland.conf`.
257
+
3. Find the line that corresponds to your shortcut ID and add a line like `bind = CTRL, Space, global, <shortcut ID>` to your `hyprland.conf` or `hl.bind("CTRL + Space", hl.dsp.global("<shorcut ID>"))` if you're using `hyprland.lua`.
0 commit comments