Skip to content

Commit 4f843c0

Browse files
committed
Improve hyprland shortcut explanation
1 parent d2f5f48 commit 4f843c0

1 file changed

Lines changed: 27 additions & 6 deletions

File tree

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

Lines changed: 27 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -203,13 +203,34 @@ windowrule = pin, class:kando
203203

204204
Also, Kando cannot directly bind global shortcuts on Hyprland.
205205
Instead, you specify a shortcut ID for each menu in Kando's menu editor and bind a key combination in `hyprland.conf`.
206-
To get the exact shortcut ID, you can use `hyprctl globalshortcuts` to list all currently registered global shortcuts.
207-
If you run the flatpak version of Kando and chose `example-menu` as the shortcut ID, you would bind it like this:
206+
For this, do the following:
207+
208+
<Steps>
209+
210+
1. Run Kando and set a shortcut ID for your menu in the menu editor.
211+
2. Open a terminal and run `hyprctl globalshortcuts` to list all currently registered global shortcuts.
212+
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`.
213+
214+
</Steps>
215+
216+
The shortcut ID will look different depending on how you installed Kando.
217+
Here are some examples:
218+
219+
<Tabs>
220+
<TabItem label="Flathub">
221+
```
222+
// ~/.config/hypr/hyprland.conf
223+
bind = CTRL, Space, global, menu.kando.Kando:example-menu
224+
```
225+
</TabItem>
226+
<TabItem label="Most other installations">
227+
```
228+
// ~/.config/hypr/hyprland.conf
229+
bind = CTRL, Space, global, :example-menu
230+
```
231+
</TabItem>
232+
</Tabs>
208233

209-
```
210-
// ~/.config/hypr/hyprland.conf
211-
bind = CTRL, Space, global, menu.kando.Kando:example-menu
212-
```
213234

214235
#### Use Wayland instead of XWayland
215236

0 commit comments

Comments
 (0)