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:
parent
4d0a7fc372
commit
431cbd46a4
18
sway/config
18
sway/config
|
@ -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
17
sway/input
Normal 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user