Initial Commit
This commit is contained in:
31
.config/sway/config.d/input
Normal file
31
.config/sway/config.d/input
Normal file
@@ -0,0 +1,31 @@
|
||||
### Input configuration
|
||||
#
|
||||
# Example configuration:
|
||||
# You can get the names of your inputs by running: swaymsg -t get_inputs
|
||||
# Put your touchpad's ID to replace "Touchpad-ID" (keep the quotation marks)
|
||||
|
||||
input type:touchpad {
|
||||
dwt enabled
|
||||
tap enabled
|
||||
natural_scroll enabled
|
||||
}
|
||||
|
||||
# Read `man 5 sway-input` for more information about this section.
|
||||
#
|
||||
# Change or switch the next setting
|
||||
input type:keyboard {
|
||||
xkb_layout "de"
|
||||
xkb_numlock enabled
|
||||
repeat_delay 200
|
||||
repeat_rate 35
|
||||
|
||||
}
|
||||
|
||||
exec_always {
|
||||
'swaymsg input type:keyboard xkb_layout "$(localectl status | grep "X11 Layout" | sed -e "s/^.*X11 Layout://")"'
|
||||
'swaymsg input type:keyboard xkb_variant "$(localectl status | grep "X11 Variant" | sed -e "s/^.*X11 Variant://")"'
|
||||
}
|
||||
|
||||
input "5824:10203:MoErgo_Glove80_Left_Keyboard" {
|
||||
xkb_layout "us"
|
||||
}
|
||||
Reference in New Issue
Block a user