Natural scrolling on mouse and track pad?

To edit this config file, I have to use sudo and when I try to log in after making this change, this is when i3 fails to log in anymore. To fix that, I have to boot into GNOME and remove the line from the config file.

From another post:

Edit /usr/share/X11/xorg.conf.d/40-libinput.conf

Add there Option "NaturalScrolling" "True" like this:

For your mouse:

# Match on all types of devices but joysticks
Section "InputClass"
        Identifier "libinput pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
        Option "NaturalScrolling" "True"
EndSection