magento2: grid view or individual list of Magento 2 for each category

I'm looking for a way to individually set the default view for each category.

For example, category shoes must be a grid and category shirts must be list views.

I found this for M2 but it is not changing anything (1. Option)

Specify Grid or List mode on a per category basis in Magento


  
    Grid