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
1. Toggling Special-Workspace through kando-menu will be glitchy (i.e in some cases special-workspace will reopen instead of closing). See https://github.com/kando-menu/kando/issues/784
209
-
2. After triggering kando-menu-item of type `Run command` whose target is `activewindow` will not work correctly as by default Hyprland restores focus_on_close to next candidate window. See https://github.com/kando-menu/kando/issues/812
214
+
#### Use Wayland instead of XWayland
215
+
216
+
Per default, Electron apps like Kando run under XWayland.
217
+
On Hyprland, this can lead to some glitchy behavior like menus opening not at the cursor or dropdown menus not working correctly.
218
+
You can fix this by making your Electron apps run under Wayland instead of XWayland.
219
+
To do this, add the following line to your config:
220
+
221
+
```
222
+
// ~/.config/hypr/hyprland.conf
223
+
env=ELECTRON_OZONE_PLATFORM_HINT,auto
224
+
```
225
+
226
+
#### Input Issues
227
+
228
+
Toggling Special-Workspace through kando-menu will be glitchy (i.e in some cases special-workspace will reopen instead of closing). See https://github.com/kando-menu/kando/issues/784.
229
+
230
+
After triggering kando-menu-item of type `Run command` whose target is `activewindow` will not work correctly as by default Hyprland restores focus_on_close to next candidate window. See https://github.com/kando-menu/kando/issues/812.
231
+
232
+
Both of above can be solved by using the following config:
233
+
```
234
+
// ~/.config/hypr/hyprland.conf
235
+
input {
236
+
special_fallthrough = true # having only floating windows in the special workspace will not block focusing windows in the regular workspace.
237
+
focus_on_close = 1 # focus will shift to the window under the cursor.
238
+
}
239
+
```
210
240
211
-
Both of above can be solved by using the following config
212
-
```
213
-
// ~/.config/hypr/hyprland.conf
214
-
input {
215
-
special_fallthrough = true # having only floating windows in the special workspace will not block focusing windows in the regular workspace.
216
-
focus_on_close = 1 # focus will shift to the window under the cursor.
217
-
}
218
-
```
219
-
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
241
+
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.
1. Using hotkey press simulation through Kando will not work for triggering keybinds registered in your Niri configuration. In that case, have Kando run a command ```niri msg action <action>``` where the action is the one configured in the your configuration along with its arguments (for example `niri msg action focus-workspace-up` or `niri msg action focus-workspace 1`)
258
+
Using hotkey press simulation through Kando will not work for triggering keybinds registered in your Niri configuration. In that case, have Kando run a command ```niri msg action <action>``` where the action is the one configured in the your configuration along with its arguments (for example `niri msg action focus-workspace-up` or `niri msg action focus-workspace 1`)
238
259
239
-
2.Niri does not yet support global shortcuts. But you can open menus using 'kando --menu \"Menu Name\"' from the command line or from your niri config.
260
+
Niri does not yet support global shortcuts. But you can open menus using 'kando --menu \"Menu Name\"' from the command line or from your niri config.
0 commit comments