summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--example/hyprland.conf3
-rw-r--r--src/config/defaultConfig.hpp3
2 files changed, 4 insertions, 2 deletions
diff --git a/example/hyprland.conf b/example/hyprland.conf
index 75ff0abe..9bec2f6d 100644
--- a/example/hyprland.conf
+++ b/example/hyprland.conf
@@ -117,7 +117,8 @@ misc {
# Example per-device config
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
-device:epic-mouse-v1 {
+device {
+ name = epic-mouse-v1
sensitivity = -0.5
}
diff --git a/src/config/defaultConfig.hpp b/src/config/defaultConfig.hpp
index 95e98e4f..34a51e75 100644
--- a/src/config/defaultConfig.hpp
+++ b/src/config/defaultConfig.hpp
@@ -124,7 +124,8 @@ misc {
# Example per-device config
# See https://wiki.hyprland.org/Configuring/Keywords/#executing for more
-device:epic-mouse-v1 {
+device {
+ name = epic-mouse-v1
sensitivity = -0.5
}