mkdir -vp /etc/X11/xorg.conf.d
cat << EOF > /etc/X11/xorg.conf.d/00-keyboard.conf
Section "InputClass"
	Identifier "my-keyboard-1"
	MatchIsKeyboard "on"
	Driver "evdev"
	Option "XkbLayout" "us,ru"
	Option "XkbOptions" "grp:alt_shift_toggle,caps:swapescape"
EndSection
EOF