Refactored the input configuration files into individual config

This is not the keybinds but configuration to the drivers for the keyboard and
trackpad.
This commit is contained in:
James Patrick 2019-06-01 21:58:56 -04:00
parent 4d0a7fc372
commit 431cbd46a4
2 changed files with 18 additions and 17 deletions

View File

@ -47,23 +47,6 @@ exec swayidle -w \
# your displays after another 300 seconds, and turn your screens back on when
# resumed. It will also lock your screen before your computer goes to sleep.
### Input configuration
#
# Example configuration:
#
input "2:7:SynPS/2_Synaptics_TouchPad" {
dwt enabled
click_method clickfinger
natural_scroll enabled
middle_emulation enabled
}
input "1:1:AT_Translated_Set_2_keyboard" {
xkb_options ctrl:nocaps
}
#
# 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.
################################################################################
# UI tweaks
@ -264,3 +247,4 @@ bar {
#include /etc/sway/config.d/*
include autostart
include input

17
sway/input Normal file
View File

@ -0,0 +1,17 @@
### Input configuration
#
# 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.
# Beter touchpad support
input "2:7:SynPS/2_Synaptics_TouchPad" {
dwt enabled
click_method clickfinger
natural_scroll enabled
middle_emulation enabled
}
# bind caps to ctrl
input "1:1:AT_Translated_Set_2_keyboard" {
xkb_options ctrl:nocaps
}