From b0d4575534209804f819bd630b7799d0f71ba30f Mon Sep 17 00:00:00 2001
From: daniel <193309918+danielfrrrr@users.noreply.github.com>
Date: Wed, 1 Apr 2026 23:30:57 -0300
Subject: [PATCH] config: remove the underline from the XF86 keys
...to match the actual key names in https://github.com/xkbcommon/libxkbcommon/blob/48500df7160d0ec6278dfcec0665a7907cfdf302/include/xkbcommon/xkbcommon-keysyms.h#L2583
---
README.md | 4 ++--
docs/rc.xml.all | 4 ++--
include/config/default-bindings.h | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/README.md b/README.md
index 379de77a..7b0c01f6 100644
--- a/README.md
+++ b/README.md
@@ -220,8 +220,8 @@ If you have not created an rc.xml config file, default bindings will be:
| `XF86_AudioLowerVolume` | amixer sset Master 5%-
| `XF86_AudioRaiseVolume` | amixer sset Master 5%+
| `XF86_AudioMute` | amixer sset Master toggle
-| `XF86_MonBrightnessUp` | brightnessctl set +10%
-| `XF86_MonBrightnessDown` | brightnessctl set 10%-
+| `XF86MonBrightnessUp` | brightnessctl set +10%
+| `XF86MonBrightnessDown` | brightnessctl set 10%-
A root-menu can be opened by clicking on the desktop.
diff --git a/docs/rc.xml.all b/docs/rc.xml.all
index bbec9d0b..76e601b6 100644
--- a/docs/rc.xml.all
+++ b/docs/rc.xml.all
@@ -300,10 +300,10 @@
-
+
-
+
diff --git a/include/config/default-bindings.h b/include/config/default-bindings.h
index 9d42d237..46e0477c 100644
--- a/include/config/default-bindings.h
+++ b/include/config/default-bindings.h
@@ -105,14 +105,14 @@ static struct key_combos {
.value = "amixer sset Master toggle",
},
}, {
- .binding = "XF86_MonBrightnessUp",
+ .binding = "XF86MonBrightnessUp",
.action = "Execute",
.attributes[0] = {
.name = "command",
.value = "brightnessctl set +10%",
},
}, {
- .binding = "XF86_MonBrightnessDown",
+ .binding = "XF86MonBrightnessDown",
.action = "Execute",
.attributes[0] = {
.name = "command",