1
0
Fork 0

sway: Simplify input configuration

Simplify the input configuration in sway by setting the keyboard layout
based on the type and move the declaration from the device-specific
files to the main configuration file
This commit is contained in:
coderkun 2020-07-04 15:21:29 +02:00
commit decd1e6916
3 changed files with 6 additions and 14 deletions

View file

@ -3,16 +3,6 @@ output * bg "~/.config/sway/bg.png" fill
output HDMI-A-1 position 0,0
output DP-1 resolution 1920x1080 position 1920,0
# Input configuration
input "65261:4871:ErgoDox_EZ_ErgoDox_EZ" {
xkb_layout de
xkb_variant neo
}
input "5426:66:Razer_Razer_Abys" {
drag_lock disabled
accel_profile flat
}
# Monitor setup
set $mode_monitor Monitor (l) single left, (r) single right, (h) dual horizontal, ((v) dual vertical
mode "$mode_monitor" {