From 586a8a8c419331679f87bb0c83b9e508091ed9d4 Mon Sep 17 00:00:00 2001
From: vaxerski <43317083+vaxerski@users.noreply.github.com>
Date: Sun, 21 Aug 2022 16:49:28 +0200
Subject: [PATCH] categories for binds
---
pages/Configuring/Advanced-config.md | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/pages/Configuring/Advanced-config.md b/pages/Configuring/Advanced-config.md
index dd8da02..bc27bf1 100644
--- a/pages/Configuring/Advanced-config.md
+++ b/pages/Configuring/Advanced-config.md
@@ -112,6 +112,8 @@ WL_OUTPUT_TRANSFORM_FLIPPED_270 = 7
# Binds
+## Basic
+
```
bind=MOD,key,dispatcher,params
```
@@ -124,6 +126,8 @@ bind=SUPERSHIFT,Q,exec,firefox
will bind opening firefox to SUPER + SHIFT + Q
+## Binding with Shift
+
{{< hint type=important >}}
After Hyprland v0.10.3beta, the SHIFT-mod behaviour described below has been removed, meaning now you should normally bind them with e.g.:
```
@@ -159,6 +163,8 @@ Common overwrites:
*(Overwrites may vary on different keymaps)*
+## Uncommon syms / binding with a keycode
+
See the
[xkbcommon-keysyms.h header](https://github.com/xkbcommon/libxkbcommon/blob/master/include/xkbcommon/xkbcommon-keysyms.h)
for all the keysyms. The name you should use is the one after XKB_KEY\_, written
@@ -177,6 +183,8 @@ bind=SUPER,28,exec,amongus
Will bind SUPER + T. (T is keycode 28.) - You can also use `xev` or `wev` to find
keycodes.
+## Misc
+
You can also unbind with `unbind`, e.g.:
```