This commit is contained in:
vaxerski 2022-10-30 22:50:10 +00:00
parent 112a0260ca
commit 039369985f
2 changed files with 12 additions and 10 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:

View File

@ -65,16 +65,6 @@ bind = MOD,KEY,exec,sleep 1 && hyprctl dispatch dpms off
{{< /hint >}}
{{< hint >}}
You can use multiple dispatchers with the same keybind by writing the same keybind in two lines with one dispatcher for each , example :
```
#to switch between windows in a flowting workspace
bind = $mainMod,Tab,movefocus,l #change focus to git other window
bind = $mainMod,Tab,bringactivetotop #brings it to top
```
please note that the order of dispatchers matters
{{< /hint >}}
# Workspaces
You have seven choices: