From ac20980e77661a40bf4c0e35c9dc42f427079cdc Mon Sep 17 00:00:00 2001 From: David Thurstenson Date: Thu, 8 Jul 2021 20:31:06 -0500 Subject: [PATCH] Fix rotation and input mapping --- .config/sway/tl-yoga/20-input-tweaks.conf | 15 +++++++++++++++ .config/sway/tl-yoga/rotation.conf | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 .config/sway/tl-yoga/20-input-tweaks.conf diff --git a/.config/sway/tl-yoga/20-input-tweaks.conf b/.config/sway/tl-yoga/20-input-tweaks.conf new file mode 100644 index 0000000..7df36f3 --- /dev/null +++ b/.config/sway/tl-yoga/20-input-tweaks.conf @@ -0,0 +1,15 @@ +# Sway Config: Common Input Configuration +# +# Thurstylark + + +# Set common touchpad options +input type:touchpad { + tap disabled + click_method clickfinger +} + + +# Touchscreen and Pen Mapping +input type:touch map_to_output $o-id +input type:tablet_tool map_to_output $o-id diff --git a/.config/sway/tl-yoga/rotation.conf b/.config/sway/tl-yoga/rotation.conf index 5ccbdf6..d851ebb 100644 --- a/.config/sway/tl-yoga/rotation.conf +++ b/.config/sway/tl-yoga/rotation.conf @@ -3,7 +3,7 @@ # Thurstylark -set $rotate-display $o-internal-id +set $rotate-display eDP-1 bindsym $mod+Backslash mode "Rotate"