diff --git a/sway_config b/sway_config index da6f1c0..3691ea5 100644 --- a/sway_config +++ b/sway_config @@ -11,6 +11,19 @@ bindsym XF86AudioMicMute exec "pamixer --source 46 -t" bindsym XF86AudioRaiseVolume exec "pamixer -i 5 && pamixer --get-volume > /tmp/wob" bindsym XF86AudioLowerVolume exec "pamixer -d 5 && pamixer --get-volume > /tmp/wob" +### Input configuration + input "2:14:ETPS/2_Elantech_Touchpad" { + dwt enabled + tap enabled + natural_scroll enabled + middle_emulation enabled + } + +set $lock swaylock --screenshots --clock --indicator --effect-blur 5x7 +### Idle configuration +exec swayidle timeout 600 '$lock' timeout 1200 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' before-sleep 'swaylock -f -c 000000' +bindsym $mod+L exec $lock + input "type:keyboard" { xkb_layout de