Merge pull request #42 from AmmarHaddadi/main

explained how to use multiple dispatchers with the same keybind
This commit is contained in:
Vaxry 2022-10-30 22:50:34 +00:00 committed by GitHub
commit dc2bd25100
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions

View File

@ -105,6 +105,18 @@ bindl=,switch:[switch name],exec,swaylock
check out your switches in `hyprctl devices`.
## Multiple binds to one key
You can trigger multiple actions with one keybind by assigning multiple binds to one combination, e.g.:
```
# to switch between windows in a floating workspace
bind = SUPER,Tab,cyclenext, # change focus to another window
bind = SUPER,Tab,bringactivetotop, # bring it to the top
```
The keybinds will be executed in the order they were created. (top to bottom)
# Bind flags
`bind` supports flags in this format: