################################################################################ # Keyboard ################################################################################ # I use a Dvorak keyboard, like a weirdo input * xkb_layout "us" input * xkb_variant "dvorak" # Key repeat values input * repeat_delay 300 input * repeat_rate 30 ################################################################################ # Mouse ################################################################################ # TrackPoint acceleration input 1133:49291:Logitech_G502_HERO_SE accel_profile flat input 1133:49291:Logitech_G502_HERO_SE pointer_accel -0.966 # When using a 2-button mouse, simulate button 3 with simultaneous press input * middle_emulation enable # Hide cursor after 5 seconds seat seat0 hide_cursor 5000 # Move cursor to center of container when switching mouse_warping container # Disable mouse as trigger to wake from idle #seat * idle_wake keyboard switch ################################################################################ # Touchscreen ################################################################################ # Map touchscreen to output input 1386:20615:Wacom_Pen_and_multitouch_sensor_Pen map_to_output eDP-1 input 1386:20615:Wacom_Pen_and_multitouch_sensor_Finger map_to_output eDP-1 # # bindswitch [lib|tablet]:[on|off|toggle] bindswitch --reload tablet:on exec ${HOME}/scripts/thinkpad/tablet_mode.sh on ; busctl call --user sm.puri.OSK0 /sm/puri/OSK0 sm.puri.OSK0 SetVisible b true bindswitch --reload tablet:off exec ${HOME}/scripts/thinkpad/tablet_mode.sh off ; busctl call --user sm.puri.OSK0 /sm/puri/OSK0 sm.puri.OSK0 SetVisible b false ################################################################################ # Lid switch ################################################################################ # Restore display configuration on reload bindswitch --reload lid:on /home/jpm/scripts/sway/displays.pl detached