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/advanced-usage/customizing.mdx
+22-1Lines changed: 22 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,4 +9,25 @@ banner:
9
9
10
10
Kando comes with a few themes pre-installed. You can find more themes in the [Kando Menu Themes Repository](https://github.com/kando-menu/menu-themes)!
11
11
12
-
## Icon Themes
12
+
## Icon Themes
13
+
14
+
To add your own icons to Kando, follow these steps:
15
+
1. Create a new `icon-themes` directory in Kando's configuration directory if it does not yet exist. Depending on your OS, this will be the following locations:
2. Create a new directory for your icon theme in the `icon-themes` directory. You can give it any name you like.
20
+
3. Add your icons to the new directory. The icons can be in various formats, but we recommend using SVG files.
21
+
4.**Restart Kando.** Icon themes are only loaded when Kando starts.
22
+
5. Select your icon theme in the icon-theme dropdown in the icon picker in Kando's menu editor.
23
+
24
+
> [!CAUTION]
25
+
> Kando will also load icon themes from `resources/app/.webpack/renderer/assets/icon-themes/` in the installation directory. This can be interesting if you are packaging icon themes using a package manager. However, as an end user, you should not put your icon themes there, as they might be overwritten during an update.
26
+
27
+
### Some Tips for Creating Icon Themes
28
+
29
+
* You can organize your icons in subdirectories. Kando will load them recursively. The directory will be part of the icon's name and therefore you can use the search bar to filter by directory.
30
+
* There are many great icon sets available on the internet. Here are some which you could try:
31
+
*[Numix Circle](https://github.com/numixproject/numix-icon-theme-circle): Just use the files from the `Numix-Circle/48/apps` directory.
32
+
*[Papirus](https://github.com/PapirusDevelopmentTeam/papirus-icon-theme): Here you could use the content from the `Papirus/64x64` directory.
33
+
*[Tela](https://github.com/vinceliuice/Tela-icon-theme): Here you find the icons in the `src/scalable` directory.
Copy file name to clipboardExpand all lines: src/content/docs/advanced-usage/opening-menus.mdx
+31Lines changed: 31 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,3 +4,34 @@ description: A reference page in my new Starlight docs site.
4
4
banner:
5
5
content: 🚧 This page is under construction! 🚧
6
6
---
7
+
8
+
While Kando does not have a cross-platform way to open menus with a mouse button, there are many platform-dependent third-party tools which can help you with this.
9
+
With some creativity, you can open menus not only with mouse buttons but also with gestures, desktop widgets, or in many other ways.
10
+
11
+
You can either make the third-party tool open the menu by simulation the shortcut for the menu, or it can directly call the Kando executable with the `--menu "menu name"` argument.
Below are some applications which can help you to open menus in various ways.
18
+
If you discovered a cool new way to open menus, please let us know! You can either open an issue, open a pull request, or join the [Discord server](https://discord.gg/hZwbVSDkhy) to discuss your idea!
19
+
20
+
### <imgheight="14"width="26"src="https://upload.wikimedia.org/wikipedia/commons/c/c4/Windows_logo_-_2021_%28Black%29.svg" /> Windows
21
+
22
+
*[AutoHotkey](https://www.autohotkey.com/) is a powerful scripting language for Windows. You can use it to run the kando command when you press a mouse button or to remap a mouse button to a keyboard shortcut which opens a Kando menu.
23
+
*[GestureSign](https://www.microsoft.com/store/productId/9N45WQVK2QQW?ocid=pdpshare) allows opening a Kando menu with multi-touch taps and gestures on both touchpad and touchscreen.
*[Karabiner-Elements](https://karabiner-elements.pqrs.org/) can be used to remap mouse buttons to keyboard shortcuts.
28
+
*[BetterTouchTool](https://folivora.ai/) allows opening a Kando menu via touchpad gestures.
29
+
*[BetterMouse](https://better-mouse.com/) is a tool which allows you to remap mouse buttons to keyboard shortcuts.
30
+
31
+
### <imgheight="14"width="26"src="https://cdn.simpleicons.org/linux/black" /> Linux
32
+
33
+
*[Input Remapper](https://github.com/sezanzeb/input-remapper) is a tool which allows you to remap mouse buttons to keyboard shortcuts. It works both on **X11 and Wayland**.
34
+
*[Touchegg](https://github.com/JoseExposito/touchegg#readme) is a multitouch gesture recognizer for Linux. You can use it to open a Kando menu with touchpad gestures. It only works on **X11**.
35
+
***KDE Plasma** comes with built-in support for remapping mouse buttons to keyboard shortcuts. You can find [this feature](https://www.phoronix.com/news/KDE-Rebind-Extra-Mouse-Buttons) in the system settings under "System Settings" / "Mouse & Touchpad" / "Add Binding".
36
+
* There's a [Configurable Button](https://store.kde.org/p/1297839/) widget for **KDE Plasma** which allows running `kando --menu "menu name"` when clicked.
37
+
* On **GNOME Shell**, you can use the [CHC-E (Custom Hot Corners - Extended)](https://extensions.gnome.org/extension/4167/custom-hot-corners-extended/) extension to run arbitrary commands when you move your mouse to a corner of the screen.
You will need [Git](https://git-scm.com/), [NodeJS](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm), [CMake](https://cmake.org/), and a C++ toolchain. There are several ways to install these on Windows. Here is a common way to get them:
1.**When a menu is shown:** Click the gear icon in the bottom right corner of the screen.
25
+
2.**From the system tray:** Right-click the Kando icon and select "Show Settings".
26
+
3.**From the command line:** Run `kando --settings`.
27
+
28
+
In the editor, you can create new menus, and edit existing menus.
29
+
Drag new items from the toolbar to the menu preview, reorder them, and change their properties on the right side of the screen.
30
+
31
+
<Asidetype="note">
32
+
There are several advanced options which are not yet exposed in the editor UI. See the [Config-File Documentation](/reference/config-files) for all advanced options.
33
+
</Aside>
34
+
35
+
## Three Tips for Efficient Menu Layouts
36
+
37
+
<Asidetype="tip"title="Avoid too many items in a single menu!">
38
+
Instead, create submenus. Eight items per menu is a good rule of thumb, and you should never have more than twelve items in a single menu.
39
+
</Aside>
40
+
41
+
<Asidetype="tip"title="Deeply nested menus are not a problem!">
42
+
Kando is designed to handle deeply nested menus. You can use the marking mode to quickly select items which are in subsubsubmenus.
43
+
</Aside>
44
+
45
+
<Asidetype="tip"title="Use the fixed-angle locks to create a clean layout!">
46
+
Even if you have an odd number of items, you can use fixed angles to lock items to the top, bottom, left, or right side of the menu.
47
+
</Aside>
48
+
49
+
<Intro>
50
+
Read the next sections to learn more about the available menu-item types and how to configure them.
0 commit comments