NB! It seems this console command is not compatible with CS2.
Command Profile

CL_BOBAMT_LAT

CS:GO

This console command adjusts how much your viewmodel & gun barrel moves side to side when you're running.

Syntax
cl_bobamt_lat [Value]

Description

This console command adjusts how much your viewmodel & gun barrel moves side to side when you're running.

Syntax And Arguments

cl_bobamt_lat [Value]
Value The value attached to how much your gun barrel moves side to side as you run. The higher the command is, the more your gun barrel moves side to side. The highest this command goes is 2 and the lowest is 0.1. Default value is 0.4