mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-12-22 17:49:48 +01:00
fixup
This commit is contained in:
parent
112a0260ca
commit
039369985f
2 changed files with 12 additions and 10 deletions
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue