X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=states%2Fsway%2Ffiles%2Fconfig.jinja;h=b7ada9c7a85bc805fb0436e06018102f13bb8135;hb=1ea24bccdc9182617cfc81331ab97d48fcb915e3;hp=8185333790802a9e1433f01252fb381dd52fce72;hpb=e4871bbe3cd1b1057c5927ba6da65b3e2a7f99b6;p=max%2Fsaltfiles.git diff --git a/states/sway/files/config.jinja b/states/sway/files/config.jinja index 8185333..b7ada9c 100644 --- a/states/sway/files/config.jinja +++ b/states/sway/files/config.jinja @@ -96,6 +96,27 @@ 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 5426:133:Razer_Razer_Basilisk_V2 { + accel_profile flat + pointer_accel -0.5 +} + + +input 1267:12356:ELAN1200:00_04F3:3044_Touchpad { + dwt enabled + tap enabled + tap_button_map lmr + natural_scroll enabled +} + +input 2362:597:UNIW0001:00_093A:0255_Touchpad { + dwt enabled + tap enabled + tap_button_map lmr + natural_scroll enabled +} + input 1241:36:HOLDCHIP_USB_Keyboard { xkb_layout us xkb_variant colemak @@ -265,6 +286,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