]> git.friedersdorff.com Git - max/saltfiles.git/blobdiff - states/sway/files/config.jinja
Config touchpad
[max/saltfiles.git] / states / sway / files / config.jinja
index 8185333790802a9e1433f01252fb381dd52fce72..a60e6eb92b4416ffbf3de6a9dab2cd340e751c92 100644 (file)
@@ -96,6 +96,13 @@ timeout 300 "{{lockcmd}}" \
 # You can get the names of your inputs by running: swaymsg -t get_inputs
 # Read `man 5 sway-input` for more information about this section.
 # This keyboard has this layout on all machines:
+input 1267:12356:ELAN1200:00_04F3:3044_Touchpad {
+    tap enabled
+    dwt enabled
+    natural_scroll enabled
+    tap_button_map lrm
+}
+
 input 1241:36:HOLDCHIP_USB_Keyboard {
   xkb_layout us
   xkb_variant colemak
@@ -265,6 +272,7 @@ bindsym $mod+Alt+l exec '{{ lockcmd }}'
 include /etc/sway/config.d/*
 # host specific section
 {%- do salt.log.error('sway/files/' + host) -%}
+
 {% include 'sway/files/' + host %}
 
 for_window [app_id="zoom" title="^zoom$"] border none, floating enable