mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-11-26 06:25:59 +01:00
minor bind improvements
This commit is contained in:
parent
344f257aff
commit
31242f3da4
1 changed files with 5 additions and 4 deletions
|
@ -234,13 +234,10 @@ XWayland is a bit wonky. Make sure that what you're passing is a "global Xorg
|
|||
keybind", otherwise passing from a different XWayland app may not work.
|
||||
|
||||
It works flawlessly with all native Wayland applications though.
|
||||
|
||||
_Side note_: **OBS** on Wayland really dislikes keybinds with modifiers. If
|
||||
they don't work, try removing mods and binding them to e.g. <key>F1</key>.
|
||||
Combining this with a submap should yield neat and usable results.
|
||||
{{< /hint >}}
|
||||
|
||||
## DBus Global Shortcuts
|
||||
|
||||
Some applications may already support the GlobalShortcuts portal in xdg-desktop-portal.
|
||||
|
||||
If that's the case, then it's recommended to use this method instead of `pass`.
|
||||
|
@ -256,6 +253,10 @@ Bind it to whatever you want with the `global` dispatcher:
|
|||
bind = SUPERSHIFT, A, global, coolApp:myToggle
|
||||
```
|
||||
|
||||
{{< hint type=tip >}}
|
||||
Please note that this function will _only_ work with [XDPH](../../Useful-Utilities/Hyprland-desktop-portal).
|
||||
{{</ hint >}}
|
||||
|
||||
# Submaps
|
||||
|
||||
If you want keybind submaps, also known as _modes_ or _groups_, for example if
|
||||
|
|
Loading…
Reference in a new issue