Add keyboard layout configuration example

This commit is contained in:
MDeltaX 2019-12-13 02:28:31 +01:00
parent 2f84d6e349
commit 10889f3cfd

View file

@ -6,15 +6,19 @@
### Variables
#
# Logo key. Use Mod1 for Alt.
# Windows key. Use Mod1 for Alt.
set $mod Mod4
#
# Home row direction keys, like vim
set $left h
set $down j
set $up k
set $right l
#
# Your preferred terminal emulator
# set $term kitty
set $term alacritty
#
# Your preferred application launcher
# Note: it's recommended that you pass the final command to sway
set $menu dmenu_path | dmenu | xargs swaymsg exec --
@ -48,6 +52,24 @@ output * bg @datadir@/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
#
# Example configuration:
#
# Keyboard layout:
#
# input * {
# xkb_layout de
# xkb_variant neo
# }
#
# or:
#
# input * {
# xkb_layout de
# xkb_variant nodeadkeys
# xkb_options caps:swapescape
# }
#
#
# Touchpad:
#
# input "2:14:SynPS/2_Synaptics_TouchPad" {
# dwt enabled
# tap enabled