Add sway config and other Wayland-related stuff
This commit is contained in:
parent
2ef36eb976
commit
ecd2f63c92
18 changed files with 664 additions and 0 deletions
19
.config/sway/config.d/20_input
Normal file
19
.config/sway/config.d/20_input
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# Configure input devices.
|
||||
# (These should be sensible defaults for our devices; replace file with local file if needed.)
|
||||
|
||||
# Set keyboard layout
|
||||
input type:keyboard {
|
||||
xkb_layout "us"
|
||||
xkb_variant "altgr-intl"
|
||||
|
||||
# Replace caps lock key with return, use menu key for compose
|
||||
xkb_options "caps:return,compose:menu"
|
||||
}
|
||||
|
||||
# Configure touchpad
|
||||
input type:touchpad {
|
||||
tap enabled
|
||||
drag_lock disabled
|
||||
|
||||
scroll_factor 0.5
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue