From 039369985ffa24abd9c3fb51e30a3e719407998f Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Sun, 30 Oct 2022 22:50:10 +0000 Subject: [PATCH] fixup --- pages/Configuring/Binds.md | 12 ++++++++++++ pages/Configuring/Dispatchers.md | 10 ---------- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/pages/Configuring/Binds.md b/pages/Configuring/Binds.md index a5af89f..2ed4e89 100644 --- a/pages/Configuring/Binds.md +++ b/pages/Configuring/Binds.md @@ -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: diff --git a/pages/Configuring/Dispatchers.md b/pages/Configuring/Dispatchers.md index 6dc3573..f219934 100644 --- a/pages/Configuring/Dispatchers.md +++ b/pages/Configuring/Dispatchers.md @@ -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: