From f7c48e7853ae0f7a41f7422be8d499a0bed54aad Mon Sep 17 00:00:00 2001 From: Massaki Archambault Date: Mon, 15 Apr 2019 08:34:43 -0400 Subject: [PATCH] input tweak --- files/.config/mpv/mpv.conf | 1 + files/.config/pulse/default.pa | 3 +++ files/.config/sway/config | 17 +++++++++++++++++ 3 files changed, 21 insertions(+) diff --git a/files/.config/mpv/mpv.conf b/files/.config/mpv/mpv.conf index 530cd31..2743ab1 100644 --- a/files/.config/mpv/mpv.conf +++ b/files/.config/mpv/mpv.conf @@ -1,5 +1,6 @@ # video profile=gpu-hq +gpu-context=wayland video-sync=display-resample x11-bypass-compositor=yes display-fps=60 diff --git a/files/.config/pulse/default.pa b/files/.config/pulse/default.pa index 10298dd..b45a09c 100644 --- a/files/.config/pulse/default.pa +++ b/files/.config/pulse/default.pa @@ -32,6 +32,9 @@ load-module module-augment-properties ### Should be after module-*-restore but before module-*-detect load-module module-switch-on-port-available +# automatically switch to newly-connected devices +load-module module-switch-on-connect + ### Load audio drivers statically ### (it's probably better to not load these drivers manually, but instead ### use module-udev-detect -- see below -- for doing this automatically) diff --git a/files/.config/sway/config b/files/.config/sway/config index 162f7bd..5db629c 100644 --- a/files/.config/sway/config +++ b/files/.config/sway/config @@ -48,6 +48,7 @@ smart_gaps on # Floating mod for_window [app_id="pavucontrol"] floating enable for_window [app_id="org.remmina.Remmina" title="Remmina Remote Desktop Client"] floating enable +for_window [app_id="desktopclient.nextcloud.com.nextcloud"] floating enable for_window [class="TeamViewer"] floating enable for_window [class="feh" title="Pinned screenshot"] { @@ -88,16 +89,32 @@ floating_modifier $mod # disable focus follow mouse #focus_follows_mouse no +# Touchpad input "2:18:FocalTechPS/2_FocalTech_Touchpad" { tap enabled tap_button_map lrm middle_emulation enabled + scroll_method two_finger + dwt enable + drag enable +} + +# Touchscreen +input "1003:35393:Atmel" { + map_to_output eDP-1 + tap enabled + drag enable } input "*" { + # Keyboard xkb_layout us xkb_variant altgr-intl xkb_options caps:super + + # Mouse + accel_profile flat + pointer_accel 0 } ### Key bindings