Staudey yes, there's the problem. but now I will need a new solution:
I have nvidia-settings --load-config-only
in my .bashrc. This is because without this, every boot I have to open nvidia X server settings and toggle "allow flipping" on and back off again. If I don't do this, then I don't get 165Hz refresh rate. The nvidia-settings --load-config-only
does this for me on boot. Also note that when I open nvidia X server settings GUI it will disable my night light. So every time I open bash it runs the nvidia server settings and disables my night light.
Maybe I could put that line in .profile instead of .bashrc? I will try.
EDIT: works! just moved that line to .profile
thanks!