summaryrefslogtreecommitdiff
path: root/river/config.rh
diff options
context:
space:
mode:
Diffstat (limited to 'river/config.rh')
-rw-r--r--river/config.rh29
1 files changed, 20 insertions, 9 deletions
diff --git a/river/config.rh b/river/config.rh
index b863026..ec27e3d 100644
--- a/river/config.rh
+++ b/river/config.rh
@@ -1,10 +1,21 @@
-keyboard "AT Translated Set 2 keyboard" {
- layout gallium
- options ctrl:swap_lalt_lctl,ctrl:swap_rwin_rctl,ctrl:nocaps
-}
-
-touchpad {
- tap_to_click true
- natural_scroll false
- accel_profile adaptive
+input {
+ profiles {
+ builtin_keyboard {
+ keyboard {
+ layout gallium
+ options ctrl:swap_lalt_lctl,ctrl:swap_rwin_rctl,ctrl:nocaps
+ }
+ }
+ builtin_touchpad {
+ libinput {
+ tap_to_click true
+ natural_scroll false
+ accel_profile adaptive
+ }
+ }
+ }
+ rules [
+ name, AT Translated Set 2 keyboard, builtin_keyboard
+ name, PIXA3854:00 093A:0274 Touchpad, builtin_touchpad
+ ]
}